]> git.baikalelectronics.ru Git - kernel.git/commit
pktcdvd: add struct pktcdvd_device.name to pr_err logging where possible
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:25:55 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:32 +0000 (15:59 -0700)
commit078a5af18a3e69023ea613fe988df601602d8fde
tree38bb69780f2fdb1935ac2471f101f1f60016d4fa
parent5fc182109a66637d0c2cf183c71491c51ec803ec
pktcdvd: add struct pktcdvd_device.name to pr_err logging where possible

Add a new pkt_err macro to prefix the name to the logging output.  Convert
pr_err where there is a non-null struct pktcdvd_device.

Includes improvements from Andy Shevchenko.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c