Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21098c68 authored by James Smart's avatar James Smart Committed by James Bottomley
Browse files

[SCSI] fc_transport: fix old bug on bitflag definitions



When the fastfail flag was added, it did not account for the flags
being bit fields. Correct the definition so there is no longer a
conflict.

Signed-off-by: default avatarJames Smart <james.smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 2a3a59e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ struct fc_rport { /* aka fc_starget_attrs */
/* bit field values for struct fc_rport "flags" field: */
#define FC_RPORT_DEVLOSS_PENDING	0x01
#define FC_RPORT_SCAN_PENDING		0x02
#define FC_RPORT_FAST_FAIL_TIMEDOUT	0x03
#define FC_RPORT_FAST_FAIL_TIMEDOUT	0x04

#define	dev_to_rport(d)				\
	container_of(d, struct fc_rport, dev)