lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 25 Aug 2022 19:10:04 +0100
From:   "Russell King (Oracle)" <linux@...linux.org.uk>
To:     Alim Akhtar <alim.akhtar@...sung.com>
Cc:     'Ard Biesheuvel' <ardb@...nel.org>, linux-kernel@...r.kernel.org,
        'Alexandre Belloni' <alexandre.belloni@...tlin.com>,
        linux-samsung-soc@...r.kernel.org,
        'Tomer Maimon' <tmaimon77@...il.com>,
        linux-omap@...r.kernel.org, 'Avi Fishman' <avifishman70@...il.com>,
        'Greg Kroah-Hartman' <gregkh@...uxfoundation.org>,
        linux-usb@...r.kernel.org, 'Tali Perry' <tali.perry1@...il.com>,
        'Nancy Yuen' <yuenn@...gle.com>,
        'Krzysztof Kozlowski' <krzysztof.kozlowski@...aro.org>,
        'Alan Stern' <stern@...land.harvard.edu>,
        'Patrice Chotard' <patrice.chotard@...s.st.com>,
        'Patrick Venture' <venture@...gle.com>,
        'Vladimir Zapolskiy' <vz@...ia.com>,
        'Claudiu Beznea' <claudiu.beznea@...rochip.com>,
        linux-arm-kernel@...ts.infradead.org,
        'Benjamin Fair' <benjaminfair@...gle.com>
Subject: Re: [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!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ