projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d33e82
)
USB: iowarrior: use pr_err()
author
Johan Hovold
<johan@kernel.org>
Wed, 9 Oct 2019 10:48:46 +0000
(12:48 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 10:45:07 +0000
(12:45 +0200)
Replace the one remaining printk with pr_err().
Signed-off-by: Johan Hovold <johan@kernel.org>
Link:
https://lore.kernel.org/r/20191009104846.5925-7-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/iowarrior.c
patch
|
blob
|
history
diff --git
a/drivers/usb/misc/iowarrior.c
b/drivers/usb/misc/iowarrior.c
index ad29ef51e53f128bf5461e7b6088b5d67a26a55b..dce44fbf031fb2875498632dba484fe3866ad045 100644
(file)
--- a/
drivers/usb/misc/iowarrior.c
+++ b/
drivers/usb/misc/iowarrior.c
@@
-587,7
+587,7
@@
static int iowarrior_open(struct inode *inode, struct file *file)
interface = usb_find_interface(&iowarrior_driver, subminor);
if (!interface) {
- pr
intk(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;
}