1
0
Fork 0
alistair23-linux/drivers/scsi/aic7xxx
Nathan Chancellor df0f4455a1 scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
[ Upstream commit 4dbc96ad65 ]

Clang warns:

../drivers/scsi/aic7xxx/aic7xxx_core.c:2317:5: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
                        if ((syncrate->sxfr_u2 & ST_SXFR) != 0)
                        ^
../drivers/scsi/aic7xxx/aic7xxx_core.c:2310:4: note: previous statement
is here
                        if (syncrate == &ahc_syncrates[maxsync])
                        ^
1 warning generated.

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

This has been a problem since the beginning of git history hence no fixes
tag.

Link: https://github.com/ClangBuiltLinux/linux/issues/817
Link: https://lore.kernel.org/r/20191218014220.52746-1-natechancellor@gmail.com
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:38 +01:00
..
aicasm
.gitignore
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c
aic7xxx_inline.h
aic7xxx_osm.c
aic7xxx_osm.h
aic7xxx_osm_pci.c
aic7xxx_pci.c
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg.h_shipped
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic79xx_core.c
aic79xx_inline.h
aic79xx_osm.c
aic79xx_osm.h
aic79xx_osm_pci.c
aic79xx_pci.c
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg.h_shipped
aic79xx_reg_print.c_shipped
aic79xx_seq.h_shipped
aic7770.c
aic7770_osm.c
aiclib.h
cam.h
queue.h
scsi_iu.h
scsi_message.h