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 scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
.gitignore
Kconfig.aic7xxx treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.aic79xx treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile scsi: remove unneeded header search paths 2019-01-29 01:22:21 -05:00
aic7xxx.h scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7xxx.reg scsi: aic7xxx: Spelling s/configuraion/configuration/ 2019-06-18 19:46:25 -04:00
aic7xxx.seq
aic7xxx_93cx6.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: Adjust indentation in ahc_find_syncrate 2020-02-24 08:36:38 +01:00
aic7xxx_inline.h
aic7xxx_osm.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7xxx_osm.h
aic7xxx_osm_pci.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7xxx_pci.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg.h_shipped
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic79xx.h scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic79xx.reg
aic79xx.seq
aic79xx_core.c scsi: aic7xxx: aic79xx: mark expected switch fall-through 2019-01-11 21:51:55 -05:00
aic79xx_inline.h
aic79xx_osm.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
aic79xx_osm.h
aic79xx_osm_pci.c
aic79xx_pci.c scsi: aic7xxx: remove set but not used variable 'shared_scb_data' 2018-09-17 02:34:16 -04:00
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg.h_shipped
aic79xx_reg_print.c_shipped
aic79xx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic7770.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7770_osm.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aiclib.h
cam.h
queue.h
scsi_iu.h
scsi_message.h