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 /drivers/scsi/libfc/fc_elsct.c | |
parent | dd3fd72e692c8af007f70df4433c0cffe8582d8b (diff) | |
download | kernel_goldelico_gta04-a29e7646f42a325a7f6cce34adbeb52e8db15566.zip kernel_goldelico_gta04-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.gz kernel_goldelico_gta04-a29e7646f42a325a7f6cce34adbeb52e8db15566.tar.bz2 |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_elsct.c b/drivers/scsi/libfc/fc_elsct.c index dd47fe6..5878b34 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; |