summaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-14 15:29:43 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-21 20:25:31 -0400
commit548f0e65a38f36976260a63ff4acfa9f3b17307d (patch)
tree9321101a59e84ff8e5730ef16849ab3d62b47122 /net/caif
parentba08311647892cc7912de74525fd78416caf544a (diff)
downloadlinux-548f0e65a38f36976260a63ff4acfa9f3b17307d.tar.gz
linux-548f0e65a38f36976260a63ff4acfa9f3b17307d.tar.bz2
linux-548f0e65a38f36976260a63ff4acfa9f3b17307d.zip
aacraid: add missing curly braces
gcc-6 warns about obviously wrong indentation for newly added code in aac_slave_configure(): drivers/scsi/aacraid/linit.c: In function 'aac_slave_configure': drivers/scsi/aacraid/linit.c:458:3: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] sdev->tagged_supported = 1; ^~~~ drivers/scsi/aacraid/linit.c:455:4: note: ...this 'else' clause, but it is not gcc is correct, and evidently this was meant to be within the curly braces that should have been there to start with. This patch adds them, which avoids the warning and makes it clear what was intended here. Nothing changes in behavior because in the 'if' block, the sdev->tagged_supported flag is known to be set already. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 6bf3b630d0a7 ("aacraid: SCSI blk tag support") Reviewed-by: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions