Re: [PATCH] hid-wiimote: print small buffers via %*ph

2013-09-04 Thread Jiri Kosina
On Tue, 3 Sep 2013, Andy Shevchenko wrote: Instead of passing each byte through stack let's use %*ph specifier to dump buffer as a hex string. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-input in the body of a message to

Re: [PATCH] hid-wiimote: print small buffers via %*ph

2013-09-04 Thread Jiri Kosina
On Wed, 4 Sep 2013, Jiri Kosina wrote: Instead of passing each byte through stack let's use %*ph specifier to dump buffer as a hex string. Applied, thanks. I acutally applied the phC one, but replied to wrong thread, sorry for the noise. -- Jiri Kosina SUSE Labs -- To unsubscribe from

[PATCH] hid-wiimote: print small buffers via %*ph

2013-09-03 Thread Andy Shevchenko
Instead of passing each byte through stack let's use %*ph specifier to dump buffer as a hex string. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/hid/hid-wiimote-core.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git

Re: [PATCH] hid-wiimote: print small buffers via %*ph

2013-09-03 Thread David Herrmann
Hi On Tue, Sep 3, 2013 at 2:32 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Instead of passing each byte through stack let's use %*ph specifier to dump buffer as a hex string. I'd actually prefer %*phC to make grep'ing for these things easier. Apart from that: Acked-by: David