summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_elsct.c
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-04-22 01:27:41 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-27 17:19:31 +0200
commita29e7646f42a325a7f6cce34adbeb52e8db15566 (patch)
treef45244f4f3394815a8991e5a05695f427033f40c /drivers/scsi/libfc/fc_elsct.c
parent[SCSI] fcoe: fix spelling typos and bad comments (diff)
downloadlinux-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 'drivers/scsi/libfc/fc_elsct.c')
-rw-r--r--drivers/scsi/libfc/fc_elsct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_elsct.c b/drivers/scsi/libfc/fc_elsct.c
index dd47fe619d1e..5878b34bff18 100644
--- a/drivers/scsi/libfc/fc_elsct.c
+++ b/drivers/scsi/libfc/fc_elsct.c
@@ -41,7 +41,7 @@ static struct fc_seq *fc_elsct_send(struct fc_lport *lport,
void *arg, u32 timer_msec)
{
enum fc_rctl r_ctl;
- u32 did;
+ u32 did = FC_FID_NONE;
enum fc_fh_type fh_type;
int rc;