summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2022-09-14 11:48:00 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-01 12:21:30 +0300
commit9b201b5dff81f298cebda10d51767cd25b432a1a (patch)
tree9081ae769235fb5df750c07f2729b76646cee462 /drivers/scsi/megaraid
parent9b78d8fadeee078ca947a3b44157f42035fdf8b1 (diff)
downloadlinux-9b201b5dff81f298cebda10d51767cd25b432a1a.tar.xz
scsi: megaraid_sas: Correct an error message
Correct the error message logged when allocation of ioc_init_request fails. Link: https://lore.kernel.org/r/1663145283-4872-3-git-send-email-kanie@linux.alibaba.com Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 1772b0be88fe..22c3e3370403 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -7226,7 +7226,7 @@ int megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance)
if (!fusion->ioc_init_request) {
dev_err(&pdev->dev,
- "Failed to allocate PD list buffer\n");
+ "Failed to allocate ioc init request\n");
return -ENOMEM;
}