]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
skd_main: use %*ph to dump small buffers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 22 Oct 2016 16:52:01 +0000 (19:52 +0300)
committerJens Axboe <axboe@fb.com>
Tue, 8 Nov 2016 04:40:42 +0000 (21:40 -0700)
commit8e1de26cd5db192b52819f5ee97bab308964f3ab
treed79cf16dc87b01cd5f1705bacd51bbd2be3a7390
parent180b0ae77d49dd63183b18609f3601430582c403
skd_main: use %*ph to dump small buffers

Replace custom approach by %*ph specifier to dump small buffers in hex format.

Unfortunately we can't use print_hex_dump_bytes() here since tha gap is
present, though one familiar with the code may change this.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/skd_main.c