]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: exfat: Replace printk with pr_info
authorJieunKim <jieun.kim4758@gmail.com>
Mon, 10 Feb 2020 09:14:20 +0000 (18:14 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 18:26:29 +0000 (10:26 -0800)
pr_info is preferred to use than printk.
pr_info calls printk with KERN_INFO macros by itself.

Signed-off-by: JieunKim <jieun.kim4758@gmail.com>
Link: https://lore.kernel.org/r/20200210091421.12335-1-jieun.kim4758@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c

index 1127131ee043ad4c2a7dad74ebf68384b2b299bf..7abe76b9237bcdcfff0e82f17df5cac31b279a7c 100644 (file)
@@ -364,7 +364,7 @@ static int ffsMountVol(struct super_block *sb)
        exfat_bdev_open(sb);
 
        if (p_bd->sector_size < sb->s_blocksize) {
-               printk(KERN_INFO "EXFAT: mount failed - sector size %d less than blocksize %ld\n",
+               pr_info("EXFAT: mount failed - sector size %d less than blocksize %ld\n",
                       p_bd->sector_size,  sb->s_blocksize);
                ret = -EINVAL;
                goto out;