[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20191117180752.3974-1-pakki001@umn.edu>
Date: Sun, 17 Nov 2019 12:07:52 -0600
From: Aditya Pakki <pakki001@....edu>
To: pakki001@....edu
Cc: kjlu@....edu, Kashyap Desai <kashyap.desai@...adcom.com>,
Sumit Saxena <sumit.saxena@...adcom.com>,
Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
megaraidlinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: megaraid_mbox: change the error level of crit to warning
In megaraid_alloc_cmd_packets(), incorrect mbox alignment and other
out of memory failures are processed similarly. The patch makes the
error logging consistent by replacing KERN_CRIT with KERN_WARNING.
Signed-off-by: Aditya Pakki <pakki001@....edu>
---
drivers/scsi/megaraid/megaraid_mbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
index f6ac819e6e96..5595a7655c54 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -1046,7 +1046,7 @@ megaraid_alloc_cmd_packets(adapter_t *adapter)
// make sure the mailbox is aligned properly
if (ccb->mbox_dma_h & 0x0F) {
- con_log(CL_ANN, (KERN_CRIT
+ con_log(CL_ANN, (KERN_WARNING
"megaraid mbox: not aligned on 16-bytes\n"));
goto out_teardown_dma_pools;
--
2.17.1
Powered by blists - more mailing lists