Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

James Smart and committed by
James Bottomley
21098c68 2a3a59e5

+1 -1
+1 -1
include/scsi/scsi_transport_fc.h
··· 357 357 /* bit field values for struct fc_rport "flags" field: */ 358 358 #define FC_RPORT_DEVLOSS_PENDING 0x01 359 359 #define FC_RPORT_SCAN_PENDING 0x02 360 - #define FC_RPORT_FAST_FAIL_TIMEDOUT 0x03 360 + #define FC_RPORT_FAST_FAIL_TIMEDOUT 0x04 361 361 362 362 #define dev_to_rport(d) \ 363 363 container_of(d, struct fc_rport, dev)