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)
commitfa63c0ab81f55eb5a016c1bcea04fe39c14afbaa
tree38bb69780f2fdb1935ac2471f101f1f60016d4fa
parent844aa7974395df1f0c7a866007e900e5f979fc7b
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