]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: byd - use %*ph for Z packet dump
authorVivek BalachandharTN <vivek.balachandhar@gmail.com>
Tue, 2 Dec 2025 03:31:20 +0000 (03:31 +0000)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Dec 2025 07:14:29 +0000 (23:14 -0800)
commitc4b3133c6a2fc283cb3d34c64d40ed2fa254b608
tree029f46076ede0a446cf3bd27d8f5b26856925b99
parent70f62e52176df0f1f4684919546a6198d5e82529
Input: byd - use %*ph for Z packet dump

Replace the hand-rolled %02x formatting of the Z packet warning in the
BYD driver with the %*ph format specifier. %*ph is the preferred helper
for printing a buffer in hexadecimal and makes the logging clearer and
more consistent.

Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
Link: https://patch.msgid.link/20251202033120.2264474-1-vivek.balachandhar@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/byd.c