Commit d66a65b7 authored by James Smart's avatar James Smart Committed by Martin K. Petersen

scsi: elx: efct: Fix link error for _bad_cmpxchg

cmpxchg is being used on a bool type, which is requiring architecture
support that isn't compatible with a bool.

Convert variable abort_in_progress from bool to int.

Link: https://lore.kernel.org/r/20210618174050.80302-1-jsmart2021@gmail.com
Fixes: ebc076b3 ("scsi: elx: efct: Tie into kernel Kconfig and build process")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Co-developed-by: default avatarRam Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: default avatarRam Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0d7be7a8
......@@ -223,7 +223,7 @@ struct efct_hw_io {
struct efc_dma xfer_rdy;
u16 type;
bool xbusy;
bool abort_in_progress;
int abort_in_progress;
bool status_saved;
u8 wq_class;
u16 reqtag;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment