scsi: elx: efct: Fix link error for _bad_cmpxchg
authorJames Smart <jsmart2021@gmail.com>
Fri, 18 Jun 2021 17:40:50 +0000 (10:40 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 19 Jun 2021 03:01:04 +0000 (23:01 -0400)
commitd66a65b7f5d219528520e287ff53aea1b5252ec3
tree69af49bd12a23c49a42aa63598d51d701b65a77c
parent0d7be7a8a0090b1c3b982c2b1a944d0d5cad7b39
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: ebc076b3eddc ("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>
drivers/scsi/elx/efct/efct_hw.h