staging: exfat: replace printk(KERN_INFO ...) with pr_info()
authorRoi Martin <jroi.martin@gmail.com>
Wed, 30 Oct 2019 01:03:26 +0000 (02:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2019 09:41:37 +0000 (10:41 +0100)
Fix checkpatch.pl warning:

WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ...
then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...

Signed-off-by: Roi Martin <jroi.martin@gmail.com>
Link: https://lore.kernel.org/r/20191030010328.10203-5-jroi.martin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c

index 007885d..f4206d7 100644 (file)
@@ -396,7 +396,7 @@ static int ffsMountVol(struct super_block *sb)
        if (i < 53) {
 #ifdef CONFIG_EXFAT_DONT_MOUNT_VFAT
                ret = -EINVAL;
-               printk(KERN_INFO "EXFAT: Attempted to mount VFAT filesystem\n");
+               pr_info("EXFAT: Attempted to mount VFAT filesystem\n");
                goto out;
 #else
                if (GET16(p_pbr->bpb + 11)) /* num_fat_sectors */