Commit e2e78e71d1a3d721beaaab591f3d6c4886ef21a4

Authored by Andy Shevchenko
Committed by Jiri Kosina
1 parent 8b61513b86

HID: holtekff: use %*ph to dump small buffers

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/hid/hid-holtekff.c
... ... @@ -100,8 +100,7 @@
100 100 holtekff->field->value[i] = data[i];
101 101 }
102 102  
103   - dbg_hid("sending %02x %02x %02x %02x %02x %02x %02x\n", data[0],
104   - data[1], data[2], data[3], data[4], data[5], data[6]);
  103 + dbg_hid("sending %*ph\n", 7, data);
105 104  
106 105 usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT);
107 106 }