scsi: megaraid_mbox: change the error level of crit to warning
diff mbox series

Message ID 20191117180752.3974-1-pakki001@umn.edu
State New
Headers show
Series
  • scsi: megaraid_mbox: change the error level of crit to warning
Related show

Commit Message

Aditya Pakki Nov. 17, 2019, 6:07 p.m. UTC
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@umn.edu>
---
 drivers/scsi/megaraid/megaraid_mbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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;