Re: [PATCH v2 5/5] usb: serial: whiteheat: clean up dev_dbg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> On Thu, Jul 14, 2016 at 03:01:44PM +0200, Oliver Neukum wrote:
>> dev_dbg() already can state the function name.
>
> No it doesn't.  It shows the device, and driver bound to that device,
> but not a function name.

Use dynamic debugging.  You can have the function name, line number or
whatever.

Are there anyone still using these debug messages without dynamic
debugging?  If so, then more incentives to enable dynamic debugging can
only do good :)


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux