]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: csiostor: Adjust indentation in csio_device_reset
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 18 Dec 2019 01:47:26 +0000 (18:47 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Dec 2019 03:42:44 +0000 (22:42 -0500)
commita808a04c861782e31fc30e342a619c144aaee14a
treef7a0ea0c03091e218d52963e44679603eb76dd63
parent4dbc96ad65c45cdd4e895ed7ae4c151b780790c5
scsi: csiostor: Adjust indentation in csio_device_reset

Clang warns:

../drivers/scsi/csiostor/csio_scsi.c:1386:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
         csio_lnodes_exit(hw, 1);
         ^
../drivers/scsi/csiostor/csio_scsi.c:1382:2: note: previous statement is
here
        if (*buf != '1')
        ^
1 warning generated.

This warning occurs because there is a space after the tab on this
line.  Remove it so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

Fixes: a3667aaed569 ("[SCSI] csiostor: Chelsio FCoE offload driver")
Link: https://github.com/ClangBuiltLinux/linux/issues/818
Link: https://lore.kernel.org/r/20191218014726.8455-1-natechancellor@gmail.com
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_scsi.c