Skip to content

RFC USB debugging rework

Greg KH lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3USB: add CONFIG_USB_DEBUG_MESSAGES and usb_dbg()drivers/usb/core/Kconfig drivers/usb/core/usb.c drivers/usb/core/usb.h+45 -22 replies
2/3USB: convert the USB core code to use usb_dbg()drivers/usb/core/config.c drivers/usb/core/devio.c drivers/usb/core/driver.c +6 more+142 -1320 replies
3/3USB: remove CONFIG_USB_DEBUGdrivers/usb/core/Kconfig drivers/usb/core/Makefile+0 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [00/03] [RFC] USB debugging rework

Hi all,

I've been annoyed for a long time that we make users go off and rebuild their kernels just to enable usb debug messages. So finally, here's the start of fixing that issue.

(note, the recent rework of pr_debug() and dev_dbg() patches that have been posted to lkml will probably obsolete these changes, but I don't know when they will make it into mainline. When they do, I'll be glad to move these changes back to dev_dbg() to work with the rest of the kernel.)

It seems that other parts of the kernel becides drivers/usb/core/ depend on CONFIG_USB_DEBUG so I'll not submit these patches until I also fix up them as well (drivers/net/usb is one big offender...)

Comments?

thanks,

greg k-h