staging: rts5208: split long line of code
authorTanjuate Brunostar <tanjubrunostar0@gmail.com>
Tue, 18 Oct 2022 12:01:54 +0000 (12:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:06:17 +0000 (17:06 +0200)
Fix checkpatch warning by splitting up a long line of code, improving
code readability

Signed-off-by: Tanjuate Brunostar <tanjubrunostar0@gmail.com>
Acked-by: Julia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/Y06Vsr7JVvpPem5T@elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/sd.c

index d1fafd5..4b7122a 100644 (file)
@@ -4506,7 +4506,8 @@ int sd_execute_write_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                                if (CHK_SD(sd_card)) {
                                        retval = reset_sd(chip);
                                        if (retval != STATUS_SUCCESS) {
-                                               sd_card->sd_lock_status &= ~(SD_UNLOCK_POW_ON | SD_SDR_RST);
+                                               sd_card->sd_lock_status &=
+                                                       ~(SD_UNLOCK_POW_ON | SD_SDR_RST);
                                                goto sd_execute_write_cmd_failed;
                                        }
                                }