[SCSI] libfc: Fix compilation warnings with allmodconfig
authorRobert Love <robert.w.love@intel.com>
Tue, 21 Apr 2009 23:27:41 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:19:31 +0000 (10:19 -0500)
commita29e7646f42a325a7f6cce34adbeb52e8db15566
treef45244f4f3394815a8991e5a05695f427033f40c
parentdd3fd72e692c8af007f70df4433c0cffe8582d8b
[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>
drivers/scsi/libfc/fc_elsct.c
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_rport.c
include/scsi/fc/fc_fs.h