Re: [PATCH v2] usb: storage: use usb_store_dbg instead of US_DEBUGPX

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

 



On Wed, Feb 17, 2016 at 10:42:37AM -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. Remove the macro and use usb_store_dbg instead.
> 
> Signed-off-by: Victor Dodon <printesoi@xxxxxxxxxxxx>
> --
> Changes in v2:
>   - Completely remove the macro instead of using printk_emit
>   - Change all uses of US_DEBUGPX to usb_stor_dbg

Great!  Now can you get rid of the horrid USB_DEBUG() macro as well?  I
don't think that's really needed anymore (the frecom driver's usage can
just be removed entirely).

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