Re: [PATCH] usb: gadget: u_ether: remove obnoxious warning messages
From: Greg Kroah-Hartman
Date: Tue Jan 17 2023 - 10:05:13 EST
On Fri, Dec 09, 2022 at 06:28:53PM +0100, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>
>
> There is really no need for the driver to unconditionally emit warnings
> like this on every usage:
>
> [ 6.967283] using random self ethernet address
> [ 6.967294] using random host ethernet address
>
> Since this is normal behaviour, just remove the messages altogether.
>
> Signed-off-by: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>
> ---
> drivers/usb/gadget/function/u_ether.c | 2 --
> 1 file changed, 2 deletions(-)
Please see the thread at:
https://lore.kernel.org/r/20230116155545.101391-1-jonathanh@xxxxxxxxxx
for more details.
This should use dev_warn() or better yet, just dev_dbg().
thanks,
greg k-h