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

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

 



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
--
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