]> 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)
commitb1377b5cb155202f0f7e514a6733da75ea14ad0d
tree3004f99d4beac533635774ce0839fd0e71e426e6
parentb08f8dfaeede7d58a238412749756ccebf2b5f7b
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