scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"
Fix spelling mistake in kernel warning message and replace printk with with pr_warn. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
1b5d9a6e98
commit
359603a384
|
@ -8763,7 +8763,7 @@ static int __init megasas_init(void)
|
||||||
|
|
||||||
if ((event_log_level < MFI_EVT_CLASS_DEBUG) ||
|
if ((event_log_level < MFI_EVT_CLASS_DEBUG) ||
|
||||||
(event_log_level > MFI_EVT_CLASS_DEAD)) {
|
(event_log_level > MFI_EVT_CLASS_DEAD)) {
|
||||||
printk(KERN_WARNING "megarid_sas: provided event log level is out of range, setting it to default 2(CLASS_CRITICAL), permissible range is: -2 to 4\n");
|
pr_warn("megaraid_sas: provided event log level is out of range, setting it to default 2(CLASS_CRITICAL), permissible range is: -2 to 4\n");
|
||||||
event_log_level = MFI_EVT_CLASS_CRITICAL;
|
event_log_level = MFI_EVT_CLASS_CRITICAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue