[PATCH] scsi: megaraid_mbox: change the error level of crit to warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux