diff options
author | Robert Love <robert.w.love@intel.com> | 2009-04-22 01:27:41 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 17:19:31 +0200 |
commit | a29e7646f42a325a7f6cce34adbeb52e8db15566 (patch) | |
tree | f45244f4f3394815a8991e5a05695f427033f40c /include/scsi/fc | |
parent | [SCSI] fcoe: fix spelling typos and bad comments (diff) | |
download | linux-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.xz linux-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/fc')
-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 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 */ |