scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"
authorColin Ian King <colin.king@canonical.com>
Sat, 20 Jul 2019 21:58:40 +0000 (22:58 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Jul 2019 02:13:33 +0000 (22:13 -0400)
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>
drivers/scsi/megaraid/megaraid_sas_base.c

index b2339d04a700263d1164931505c19bf1c2f45bf5..2590746c81e3f87f49cc0036371667744ddf4a59 100644 (file)
@@ -8763,7 +8763,7 @@ static int __init megasas_init(void)
 
        if ((event_log_level < MFI_EVT_CLASS_DEBUG) ||
            (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;
        }