]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rts5208: rtsx_scsi.h: Long lines
authorWayne Porter <wporter82@gmail.com>
Tue, 11 Oct 2016 21:56:58 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:17 +0000 (10:27 +0200)
Aligning with parenthesis causes lines to go too long, so the
parenthesis are on a new line

Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_scsi.c

index aac3435df32d4f261617cdcc79523b5cc5669a90..a95c5de1aa006107e2288788b2176d4ff63974bd 100644 (file)
@@ -973,8 +973,9 @@ static int read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                } else {
                        chip->rw_fail_cnt[lun]++;
                        if (srb->sc_data_direction == DMA_FROM_DEVICE)
-                               set_sense_type(chip, lun,
-                                       SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR);
+                               set_sense_type
+                                       (chip, lun,
+                                        SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR);
                        else
                                set_sense_type(chip, lun,
                                               SENSE_TYPE_MEDIA_WRITE_ERR);
@@ -1981,8 +1982,9 @@ static int read_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                        retval = rtsx_read_phy_register(chip, addr + i, &val);
                        if (retval != STATUS_SUCCESS) {
                                vfree(buf);
-                               set_sense_type(chip, SCSI_LUN(srb),
-                                       SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR);
+                               set_sense_type
+                                       (chip, SCSI_LUN(srb),
+                                        SENSE_TYPE_MEDIA_UNRECOVER_READ_ERR);
                                rtsx_trace(chip);
                                return TRANSPORT_FAILED;
                        }