linux-kernel-test/drivers/scsi/aic7xxx
Harvey Harrison 678e80a32f [SCSI] aic79xx: fix shadowed variables, add statics
Redeclared within different if/else blocks, safe to reuse the
original from beginning of function.
drivers/scsi/aic7xxx/aic79xx_core.c:2475:10: warning: symbol 'scbid' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_core.c:2399:10: originally declared here
drivers/scsi/aic7xxx/aic79xx_core.c:2586:10: warning: symbol 'scbid' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_core.c:2399:10: originally declared here
drivers/scsi/aic7xxx/aic79xx_core.c:2587:15: warning: symbol 'scb' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_core.c:2393:13: originally declared here

Use caminfo for the outer declaration, the redeclared version is
iterating over all initiator/target pairs (devices) which.
drivers/scsi/aic7xxx/aic79xx_core.c:8857:23: warning: symbol 'devinfo' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_core.c:8711:21: originally declared here

Forward declaration was already marked static, make the definition match.
drivers/scsi/aic7xxx/aic79xx_core.c:3693:1: warning: symbol 'ahd_devlimited_syncrate' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-10-23 11:42:13 -05:00
..
aicasm [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser 2008-10-23 11:42:12 -05:00
.gitignore
aic7xxx_93cx6.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx_93cx6.h
aic7xxx_core.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx_inline.h [SCSI] aic7xxx: add static 2008-04-27 12:20:00 -05:00
aic7xxx_osm_pci.c scsi: fix integer as NULL pointer warnings 2008-04-28 17:31:13 -07:00
aic7xxx_osm.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx_osm.h [SCSI] aic7xxx: add static 2008-04-27 12:20:00 -05:00
aic7xxx_pci.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx_pci.h
aic7xxx_proc.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx_reg_print.c_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic7xxx_reg.h_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic7xxx_seq.h_shipped [SCSI] aic7xxx: Update _shipped files 2008-04-27 12:20:00 -05:00
aic7xxx.h [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic7xxx.reg [SCSI] aic7xxx: update .reg files 2008-10-23 11:42:12 -05:00
aic7xxx.seq
aic79xx_core.c [SCSI] aic79xx: fix shadowed variables, add statics 2008-10-23 11:42:13 -05:00
aic79xx_inline.h [SCSI] aic7xxx: add static 2008-04-27 12:20:00 -05:00
aic79xx_osm_pci.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic79xx_osm.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic79xx_osm.h [SCSI] aic7xxx: add static 2008-04-27 12:20:00 -05:00
aic79xx_pci.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic79xx_pci.h
aic79xx_proc.c [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic79xx_reg_print.c_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic79xx_reg.h_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic79xx_seq.h_shipped [SCSI] aic7xxx: Update _shipped files 2008-04-27 12:20:00 -05:00
aic79xx.h [SCSI] aic7xxx: add const 2008-04-27 12:20:00 -05:00
aic79xx.reg [SCSI] aic7xxx: update .reg files 2008-10-23 11:42:12 -05:00
aic79xx.seq
aic7770_osm.c scsi: fix integer as NULL pointer warnings 2008-04-28 17:31:13 -07:00
aic7770.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile scsi: fix makefile for aic7(3*x) 2008-02-09 10:43:58 +01:00
queue.h
scsi_iu.h
scsi_message.h