Re: [PATCH] usb: storage: make US_DEBUGPX print with LOGLEVEL_DEBUG

From: Greg Kroah-Hartman
Date: Sun Feb 14 2016 - 20:20:44 EST


On Wed, Feb 10, 2016 at 04:13:43PM -0800, Victor Dodon wrote:
> The US_DEBUGPX macro uses printk without specifying a kernel log level, so
> the default kernel log level is used, which may not match LOGLEVEL_DEBUG
> used in usb_stor_dbg. Use printk_emit with LOGLEVEL_DEBUG instead.
>
> Signed-off-by: Victor Dodon <printesoi@xxxxxxxxxxxx>
> ---
> drivers/usb/storage/debug.h | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)

Can you just get rid of US_DEBUGPX() entirely please? It shouldn't be
needed anymore, just use usb_stor_dbg() instead.

thanks,

greg k-h