Re: [PATCH] media/pci/cobalt: Use %*ph to print small buffers

2015-08-26 Thread Alexander Kuleshov
Oh, nope, resent 2015-08-27 0:56 GMT+06:00 Joe Perches j...@perches.com: On Thu, 2015-08-27 at 00:51 +0600, Alexander Kuleshov wrote: printk() supports %*ph format specifier for printing a small buffers, let's use it intead of %02x %02x... Having just suffered this myself... diff --git

[PATCH] media/pci/cobalt: Use %*ph to print small buffers

2015-08-26 Thread Alexander Kuleshov
printk() supports %*ph format specifier for printing a small buffers, let's use it intead of %02x %02x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- drivers/media/pci/cobalt/cobalt-cpld.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/media

[PATCH v2] media/pci/cobalt: Use %*ph to print small buffers

2015-08-26 Thread Alexander Kuleshov
printk() supports %*ph format specifier for printing a small buffers, let's use it intead of %02x %02x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- drivers/media/pci/cobalt/cobalt-cpld.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/media