summaryrefslogtreecommitdiff
path: root/include/scsi/fc
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-04-22 03:27:41 +0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-27 19:19:31 +0400
commita29e7646f42a325a7f6cce34adbeb52e8db15566 (patch)
treef45244f4f3394815a8991e5a05695f427033f40c /include/scsi/fc
parentdd3fd72e692c8af007f70df4433c0cffe8582d8b (diff)
downloadlinux-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.xz
[SCSI] libfc: Fix compilation warnings with allmodconfig
When building with a .config generated from 'make allmodconfig' some build warnings are generated. This patch corrects the warnings, adds a FC_FID_NONE (= 0) enumeration for FC-IDs and cleans up one variable naming to meet our variable naming conventions. For example, fc_lport's should be named "lport," not "lp." Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/fc')
-rw-r--r--include/scsi/fc/fc_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_fs.h b/include/scsi/fc/fc_fs.h
index 1b7af3a64c7c..ac4cd38c860e 100644
--- a/include/scsi/fc/fc_fs.h
+++ b/include/scsi/fc/fc_fs.h
@@ -149,6 +149,7 @@ enum fc_rctl {
* Well-known fabric addresses.
*/
enum fc_well_known_fid {
+ FC_FID_NONE = 0x000000, /* No destination */
FC_FID_BCAST = 0xffffff, /* broadcast */
FC_FID_FLOGI = 0xfffffe, /* fabric login */
FC_FID_FCTRL = 0xfffffd, /* fabric controller */