Skip to content

Commit 9e85e98

Browse files
Jiayi Ligregkh
authored andcommitted
usb: core: Add 0x prefix to quirks debug output
[ Upstream commit 47c428f ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 6b66c71 commit 9e85e98

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
@@ -734,7 +734,7 @@ void usb_detect_quirks(struct usb_device *udev)
734734
udev->quirks ^= usb_detect_dynamic_quirks(udev);
735735

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

740740
#ifdef CONFIG_USB_DEFAULT_PERSIST

0 commit comments

Comments
 (0)