aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoi Martin <jroi.martin@gmail.com>2019-10-30 02:03:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-30 10:41:37 +0100
commit89f882db113b2c0aa46f6cbb85733bef85c754cc (patch)
tree6f7de7f9df1ecbfe89694d65d62e104c359faeb6
parentstaging: exfat: remove unnecessary new line in if condition (diff)
downloadlinux-dev-89f882db113b2c0aa46f6cbb85733bef85c754cc.tar.xz
linux-dev-89f882db113b2c0aa46f6cbb85733bef85c754cc.zip
staging: exfat: replace printk(KERN_INFO ...) with pr_info()
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>
-rw-r--r--drivers/staging/exfat/exfat_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 007885d140be..f4206d736f7d 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -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 */