diff options
author | James Smart <[email protected]> | 2021-06-18 10:40:50 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-06-18 23:01:04 -0400 |
commit | d66a65b7f5d219528520e287ff53aea1b5252ec3 (patch) | |
tree | 69af49bd12a23c49a42aa63598d51d701b65a77c | |
parent | 0d7be7a8a0090b1c3b982c2b1a944d0d5cad7b39 (diff) |
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/[email protected]
Fixes: ebc076b3eddc ("scsi: elx: efct: Tie into kernel Kconfig and build process")
Reported-by: kernel test robot <[email protected]>
Co-developed-by: Ram Vegesna <[email protected]>
Signed-off-by: Ram Vegesna <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/elx/efct/efct_hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/elx/efct/efct_hw.h b/drivers/scsi/elx/efct/efct_hw.h index 32cff5548f0e..f3f4aa78dce9 100644 --- a/drivers/scsi/elx/efct/efct_hw.h +++ b/drivers/scsi/elx/efct/efct_hw.h @@ -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; |