]> git.baikalelectronics.ru Git - kernel.git/commit
bsg: use pr_debug instead of hand crafted macros
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 24 Jan 2018 16:50:06 +0000 (09:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jan 2018 16:50:06 +0000 (09:50 -0700)
commit2f3e5658be7f02d7508d2c5e06f38f3c22d73fda
tree3004f99d4beac533635774ce0839fd0e71e426e6
parent995e66b9d73251018f729e08017b315d27317f40
bsg: use pr_debug instead of hand crafted macros

Use pr_debug instead of hand crafted macros. This way it is not needed to
re-compile the kernel to enable bsg debug outputs and it's possible to
selectively enable specific prints.

Cc: Joe Perches <joe@perches.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bsg.c