diff mbox series

[1/1] megaraid_sas: correct an info message

Message ID 20190102150725.4516-1-thenzl@redhat.com (mailing list archive)
State Mainlined
Commit d1f38d995e984db36449661fcbad1649c21883e7
Headers show
Series [1/1] megaraid_sas: correct an info message | expand

Commit Message

Tomas Henzl Jan. 2, 2019, 3:07 p.m. UTC
This was apparently forgotten in
894169db1 ("scsi: megaraid_sas: Use 63-bit DMA addressing").

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
---
 drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Jan. 4, 2019, 5:01 a.m. UTC | #1
Tomas,

> This was apparently forgotten in
> 894169db1 ("scsi: megaraid_sas: Use 63-bit DMA addressing").

Applied to 4.21/scsi-fixes. Thanks!
diff mbox series

Patch

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index f7bdd7833..a6b1824cc 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -6236,7 +6236,7 @@  megasas_set_dma_mask(struct megasas_instance *instance)
 		instance->consistent_mask_64bit = true;
 
 	dev_info(&pdev->dev, "%s bit DMA mask and %s bit consistent mask\n",
-		 ((*pdev->dev.dma_mask == DMA_BIT_MASK(64)) ? "63" : "32"),
+		 ((*pdev->dev.dma_mask == DMA_BIT_MASK(63)) ? "63" : "32"),
 		 (instance->consistent_mask_64bit ? "63" : "32"));
 
 	return 0;