pktcdvd: convert printk to pr_<level>
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:25:52 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:30 +0000 (15:59 -0700)
commit99481334bcab1330fce0c590b845b4a95b101a69
treef8a20a2c2a78f78c196a9a515c318fe02002752a
parent5323fb770b6254a4c218a2dfb0ef9aa007b7725a
pktcdvd: convert printk to pr_<level>

Use a more current logging style and add messages levels to the logging
messages.

Simplify pkt_dump_sense by using %*ph and adding a simple function to emit
the sense string.

Includes improvements from Andy Shevchenko and Dan Carpenter.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.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