All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] elx: efct: fix link error for _bad_cmpxchg
@ 2021-06-18 17:40 James Smart
  2021-06-19  2:38 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: James Smart @ 2021-06-18 17:40 UTC (permalink / raw)
  To: linux-scsi
  Cc: ram.vegesna, linux-mm, dwagner, hare, martin.petersen,
	James Smart, kernel test robot

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.

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>
---
 drivers/scsi/elx/efct/efct_hw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] elx: efct: fix link error for _bad_cmpxchg
  2021-06-18 17:40 [PATCH] elx: efct: fix link error for _bad_cmpxchg James Smart
@ 2021-06-19  2:38 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-06-19  2:38 UTC (permalink / raw)
  To: James Smart
  Cc: linux-scsi, ram.vegesna, linux-mm, dwagner, hare,
	martin.petersen, kernel test robot


James,

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

Applied to 5.14/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-19  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 17:40 [PATCH] elx: efct: fix link error for _bad_cmpxchg James Smart
2021-06-19  2:38 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.