]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: smp: Use the correct print format
authorKai Ye <yekai13@huawei.com>
Thu, 3 Jun 2021 07:41:05 +0000 (15:41 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:43 +0000 (07:12 +0200)
commit1a6ef0c4297f235f14523a8f62856b6729f7a008
treeaf045a476e5133768fbe26d560bbb1f664a7a5e2
parent4692e225a843bbd3776c749e4a7e661004765517
Bluetooth: smp: 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/smp.c