[SCSI] libfc: Declare local functions static
authorBart Van Assche <bvanassche@acm.org>
Sat, 14 Jan 2012 01:26:20 +0000 (17:26 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 16 Jan 2012 08:45:48 +0000 (12:45 +0400)
commitc6b21c93c1794113c68f3d43f321968191d87b1b
tree011ea47b03dc2628b1b210ab198e08343d3612a1
parenta762dce41cb5742a143f6aa2d80ee1aac7e1f5eb
[SCSI] libfc: Declare local functions static

Avoid that sparse complains about missing declarations for local
functions by declaring these static or by adding an #include directive.
Add the __percpu annotation where it is missing.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_elsct.c
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h