Skip to content

Commit f5fcec3

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 d6d69ae commit f5fcec3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/usb/core/quirks.c

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

730730
if (udev->quirks)
731-
dev_dbg(&udev->dev, "USB quirks for this device: %x\n",
731+
dev_dbg(&udev->dev, "USB quirks for this device: 0x%x\n",
732732
udev->quirks);
733733

734734
#ifdef CONFIG_USB_DEFAULT_PERSIST

0 commit comments

Comments
 (0)