diff options
author | Bart Van Assche <bvanassche@acm.org> | 2012-01-13 20:26:20 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-01-16 03:45:48 -0500 |
commit | c6b21c93c1794113c68f3d43f321968191d87b1b (patch) | |
tree | 011ea47b03dc2628b1b210ab198e08343d3612a1 /include/scsi/libfc.h | |
parent | a762dce41cb5742a143f6aa2d80ee1aac7e1f5eb (diff) |
[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>
Diffstat (limited to 'include/scsi/libfc.h')
-rw-r--r-- | include/scsi/libfc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 5d1a758e0595..6a3922fe0be0 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -857,7 +857,7 @@ struct fc_lport { | |||
857 | enum fc_lport_state state; | 857 | enum fc_lport_state state; |
858 | unsigned long boot_time; | 858 | unsigned long boot_time; |
859 | struct fc_host_statistics host_stats; | 859 | struct fc_host_statistics host_stats; |
860 | struct fcoe_dev_stats *dev_stats; | 860 | struct fcoe_dev_stats __percpu *dev_stats; |
861 | u8 retry_count; | 861 | u8 retry_count; |
862 | 862 | ||
863 | /* Fabric information */ | 863 | /* Fabric information */ |