提交 e2e78e71 编写于 作者: A Andy Shevchenko 提交者: Jiri Kosina

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

Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 8b61513b
...@@ -100,8 +100,7 @@ static void holtekff_send(struct holtekff_device *holtekff, ...@@ -100,8 +100,7 @@ static void holtekff_send(struct holtekff_device *holtekff,
holtekff->field->value[i] = data[i]; holtekff->field->value[i] = data[i];
} }
dbg_hid("sending %02x %02x %02x %02x %02x %02x %02x\n", data[0], dbg_hid("sending %*ph\n", 7, data);
data[1], data[2], data[3], data[4], data[5], data[6]);
usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT); usbhid_submit_report(hid, holtekff->field->report, USB_DIR_OUT);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册