Skip to content

Commit 47c428f

Browse files
Jiayi Ligregkh
authored andcommitted
usb: core: Add 0x prefix to quirks debug output
Use "0x%x" format for quirks debug print to clarify it's a hexadecimal value. Improves readability and consistency with other hex outputs. Signed-off-by: Jiayi Li <lijiayi@kylinos.cn> Link: https://lore.kernel.org/r/20250603071045.3243699-1-lijiayi@kylinos.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 43007b8 commit 47c428f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/core/quirks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ void usb_detect_quirks(struct usb_device *udev)
735735
udev->quirks ^= usb_detect_dynamic_quirks(udev);
736736

737737
if (udev->quirks)
738-
dev_dbg(&udev->dev, "USB quirks for this device: %x\n",
738+
dev_dbg(&udev->dev, "USB quirks for this device: 0x%x\n",
739739
udev->quirks);
740740

741741
#ifdef CONFIG_USB_DEFAULT_PERSIST

0 commit comments

Comments
 (0)