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@xxxxxxx> --- 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