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: ebc076b3ed ("scsi: elx: efct: Tie into kernel Kconfig and build process")
Reported-by: kernel test robot <lkp@intel.com>
Co-developed-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
James Smart 2021-06-18 10:40:50 -07:00 committed by Martin K. Petersen
parent 0d7be7a8a0
commit d66a65b7f5

View File

@ -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;