diff options
author | Bart Van Assche <bvanassche@acm.org> | 2012-01-14 02:26:20 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-01-16 09:45:48 +0100 |
commit | c6b21c93c1794113c68f3d43f321968191d87b1b (patch) | |
tree | 011ea47b03dc2628b1b210ab198e08343d3612a1 /drivers/scsi/libfc/fc_elsct.c | |
parent | [SCSI] fcoe: fix regression on offload em matching function for initiator/target (diff) | |
download | linux-c6b21c93c1794113c68f3d43f321968191d87b1b.tar.xz linux-c6b21c93c1794113c68f3d43f321968191d87b1b.zip |
[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 'drivers/scsi/libfc/fc_elsct.c')
-rw-r--r-- | drivers/scsi/libfc/fc_elsct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_elsct.c b/drivers/scsi/libfc/fc_elsct.c index fb9161dc4ca6..e17a28d324d0 100644 --- a/drivers/scsi/libfc/fc_elsct.c +++ b/drivers/scsi/libfc/fc_elsct.c @@ -28,6 +28,7 @@ #include <scsi/fc/fc_els.h> #include <scsi/libfc.h> #include <scsi/fc_encode.h> +#include "fc_libfc.h" /** * fc_elsct_send() - Send an ELS or CT frame |