Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jiayi Li and committed by
Greg Kroah-Hartman
47c428fc 43007b89

+1 -1
+1 -1
drivers/usb/core/quirks.c
··· 735 735 udev->quirks ^= usb_detect_dynamic_quirks(udev); 736 736 737 737 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", 739 739 udev->quirks); 740 740 741 741 #ifdef CONFIG_USB_DEFAULT_PERSIST