projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be61331
)
[SCSI] libfc: lport state is enum not bit mask
author
Yi Zou
<yi.zou@intel.com>
Fri, 11 Jun 2010 23:44:41 +0000
(16:44 -0700)
committer
James Bottomley
<James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:51 +0000
(12:01 -0500)
lport state is enum not bit mask.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_fcp.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libfc/fc_fcp.c
b/drivers/scsi/libfc/fc_fcp.c
index
ec1f66c
..
8914f1e
100644
(file)
--- a/
drivers/scsi/libfc/fc_fcp.c
+++ b/
drivers/scsi/libfc/fc_fcp.c
@@
-745,7
+745,7
@@
static void fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg)
fh = fc_frame_header_get(fp);
r_ctl = fh->fh_r_ctl;
- if (
!(lport->state & LPORT_ST_READY)
)
+ if (
lport->state != LPORT_ST_READY
)
goto out;
if (fc_fcp_lock_pkt(fsp))
goto out;