]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hidp: Use the correct print format
authorKai Ye <yekai13@huawei.com>
Thu, 3 Jun 2021 07:40:56 +0000 (15:40 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:40 +0000 (07:12 +0200)
commitb13a88fa8d2eba21ed59ad841656c012a103ab66
treef6795d2720976e6634f36148e5f6134df6ded2f2
parent4e9917e11d3a7d0645fbbe53b1349df99d2295cf
Bluetooth: hidp: Use the correct print format

According to Documentation/core-api/printk-formats.rst,
Use the correct print format. Printing an unsigned int value should use %u
instead of %d. Otherwise printk() might end up displaying negative numbers.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c