mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
[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>
This commit is contained in:
parent
a762dce41c
commit
c6b21c93c1
6 changed files with 14 additions and 12 deletions
|
@ -857,7 +857,7 @@ struct fc_lport {
|
|||
enum fc_lport_state state;
|
||||
unsigned long boot_time;
|
||||
struct fc_host_statistics host_stats;
|
||||
struct fcoe_dev_stats *dev_stats;
|
||||
struct fcoe_dev_stats __percpu *dev_stats;
|
||||
u8 retry_count;
|
||||
|
||||
/* Fabric information */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue