lkml.org 
[lkml]   [2022]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] usb: reduce kernel log spam on driver registration
On Thu, Aug 25, 2022 at 10:53:44PM +0530, Alim Akhtar wrote:
> >Drivers are typically supposed to be quiet unless they are actually probed,
> but
> >for some reason, USB host controllers seem to be exempt from this rule, and
> >happily broadcast their existence into the kernel log at boot even if the
> >hardware in question is nowhere to be found.
> >
> >Let's fix that, and remove these pr_info() calls.
> >
> How about just change pr_info() to pr_debug() instead?

Do the messages serve a useful purpose that the initcall_debug kernel
parameter (that doesn't require #define DEBUG to be set while compiling
and thus can be used with any kernel) doesn't provide?

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

\
 
 \ /
  Last update: 2022-08-25 20:11    [W:0.086 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site