]> Git Repo - linux.git/commitdiff
USB: iowarrior: use pr_err()
authorJohan Hovold <[email protected]>
Wed, 9 Oct 2019 10:48:46 +0000 (12:48 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 10 Oct 2019 10:45:07 +0000 (12:45 +0200)
Replace the one remaining printk with pr_err().

Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/misc/iowarrior.c

index ad29ef51e53f128bf5461e7b6088b5d67a26a55b..dce44fbf031fb2875498632dba484fe3866ad045 100644 (file)
@@ -587,7 +587,7 @@ static int iowarrior_open(struct inode *inode, struct file *file)
 
        interface = usb_find_interface(&iowarrior_driver, subminor);
        if (!interface) {
-               printk(KERN_ERR "%s - error, can't find device for minor %d\n",
+               pr_err("%s - error, can't find device for minor %d\n",
                       __func__, subminor);
                return -ENODEV;
        }
This page took 0.049082 seconds and 4 git commands to generate.