diff options
author | Robert Love <robert.w.love@intel.com> | 2009-04-21 16:27:41 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 10:19:31 -0500 |
commit | a29e7646f42a325a7f6cce34adbeb52e8db15566 (patch) | |
tree | f45244f4f3394815a8991e5a05695f427033f40c /include/scsi | |
parent | dd3fd72e692c8af007f70df4433c0cffe8582d8b (diff) | |
download | linux-3.10-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.gz linux-3.10-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.bz2 linux-3.10-a29e7646f42a325a7f6cce34adbeb52e8db15566.zip |
[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')
-rw-r--r-- | include/scsi/fc/fc_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_fs.h b/include/scsi/fc/fc_fs.h index 1b7af3a64c7..ac4cd38c860 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 */ |