Message ID | 1663145283-4872-3-git-send-email-kanie@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi: megaraid_sas: some bug fixes and cod cleanup | expand |
On Wed, Sep 14, 2022 at 2:18 PM Guixin Liu <kanie@linux.alibaba.com> wrote: > > Correct the error message when alloc init request fail. > > Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 44d5e93..4973c9c 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -7224,7 +7224,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; }
Correct the error message when alloc init request fail. Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)