]> Pileus Git - ~andy/linux/commit
staging: line6: use pr_err() instead of printk(KERN_ERR, ...)
authorStefan Hajnoczi <stefanha@gmail.com>
Fri, 11 Jan 2013 22:08:11 +0000 (23:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2013 00:40:50 +0000 (16:40 -0800)
commit4d3f50e4e5b423058f9eb47077837f975162ac24
treeb074d436969460437d14047d9aef1854adf20a25
parentbc776f2758684e641a501a9abc7a7c1b237d210d
staging: line6: use pr_err() instead of printk(KERN_ERR, ...)

Fix the following checkpatch.pl warning:

  WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...
  #1861: FILE: staging/line6/driver.h:56:
  +       printk(KERN_ERR "line6usb driver bug: missing case in %s:%d\n", \

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/driver.h