summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-09-03 17:48:26 +0300
committerJiri Kosina <jkosina@suse.cz>2013-09-04 11:42:10 +0200
commit95f712662d96ef7e50f5ca882c3f83d16f1e28f0 (patch)
tree42bf791e892dda8fba93538764f58ec8844ce0a9 /samples
parent8e22ecb603c88b7397ab2e80b7b0811b8a1318f5 (diff)
downloadop-kernel-dev-95f712662d96ef7e50f5ca882c3f83d16f1e28f0.zip
op-kernel-dev-95f712662d96ef7e50f5ca882c3f83d16f1e28f0.tar.gz
HID: hid-wiimote: print small buffers via %*phC
Instead of passing each byte through stack let's use %*phC specifier to dump buffer as a hex string. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud