summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-07-04 10:29:19 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-14 04:05:28 +0200
commit1917d42d14b744e7298872138dd281376a83a3fe (patch)
tree57df7ccc23ecb551e1b2b19760adef062c8578e6 /drivers/scsi/fnic
parentfc_fip: Update to latest FC-BB-6 draft (diff)
downloadlinux-1917d42d14b744e7298872138dd281376a83a3fe.tar.xz
linux-1917d42d14b744e7298872138dd281376a83a3fe.zip
fcoe: use enum for fip_mode
The FIP mode is independent on the FIP state machine, so use a separate enum for that instead of overloading it with state machine values. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r--drivers/scsi/fnic/fnic_fcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_fcs.c b/drivers/scsi/fnic/fnic_fcs.c
index fe402d0cdbc3..0d532ae273eb 100644
--- a/drivers/scsi/fnic/fnic_fcs.c
+++ b/drivers/scsi/fnic/fnic_fcs.c
@@ -1308,7 +1308,7 @@ void fnic_handle_fip_timer(struct fnic *fnic)
}
spin_unlock_irqrestore(&fnic->fnic_lock, flags);
- if (fnic->ctlr.mode == FIP_ST_NON_FIP)
+ if (fnic->ctlr.mode == FIP_MODE_NON_FIP)
return;
spin_lock_irqsave(&fnic->vlans_lock, flags);