lkml.org 
[lkml]   [2023]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb: gadget: u_ether: remove obnoxious warning messages
On Fri, Dec 09, 2022 at 06:28:53PM +0100, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@bang-olufsen.dk>
>
> 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@bang-olufsen.dk>
> ---
> 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@nvidia.com

for more details.

This should use dev_warn() or better yet, just dev_dbg().

thanks,

greg k-h

\
 
 \ /
  Last update: 2023-03-26 23:44    [W:0.034 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site