All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: qla1280: Make checking for 64bit support consistent
@ 2020-01-17 11:56 Thomas Bogendoerfer
  2020-01-20 23:36 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-01-17 11:56 UTC (permalink / raw)
  To: Michael Reed, James E.J. Bottomley, Martin K. Petersen,
	linux-scsi, linux-kernel

Use #ifdef QLA_64BIT_PTR to check if 64bit support is enabled.
This fixes ("scsi: qla1280: Fix dma firmware download, if dma
address is 64bit").

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/scsi/qla1280.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 607cbddcdd14..3337cd341d21 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -1699,7 +1699,7 @@ qla1280_load_firmware_pio(struct scsi_qla_host *ha)
 	return err;
 }
 
-#if QLA_64BIT_PTR
+#ifdef QLA_64BIT_PTR
 #define LOAD_CMD	MBC_LOAD_RAM_A64_ROM
 #define DUMP_CMD	MBC_DUMP_RAM_A64_ROM
 #define CMD_ARGS	(BIT_7 | BIT_6 | BIT_4 | BIT_3 | BIT_2 | BIT_1 | BIT_0)
-- 
2.24.1


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

* Re: [PATCH] scsi: qla1280: Make checking for 64bit support consistent
  2020-01-17 11:56 [PATCH] scsi: qla1280: Make checking for 64bit support consistent Thomas Bogendoerfer
@ 2020-01-20 23:36 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-01-20 23:36 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Michael Reed, James E.J. Bottomley, Martin K. Petersen,
	linux-scsi, linux-kernel


Thomas,

> Use #ifdef QLA_64BIT_PTR to check if 64bit support is enabled.  This
> fixes ("scsi: qla1280: Fix dma firmware download, if dma address is
> 64bit").

Applied to 5.6/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2020-01-20 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 11:56 [PATCH] scsi: qla1280: Make checking for 64bit support consistent Thomas Bogendoerfer
2020-01-20 23:36 ` 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.