[PATCH v2] usb: reduce kernel log spam on driver registration

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Sep 5 04:07:44 PDT 2022


On Mon, Sep 05, 2022 at 12:52:52PM +0200, Ard Biesheuvel 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.
> 
> Cc: Alan Stern <stern at rowland.harvard.edu>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Nicolas Ferre <nicolas.ferre at microchip.com>
> Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
> Cc: Claudiu Beznea <claudiu.beznea at microchip.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Cc: Alim Akhtar <alim.akhtar at samsung.com>
> Cc: Avi Fishman <avifishman70 at gmail.com>
> Cc: Tomer Maimon <tmaimon77 at gmail.com>
> Cc: Tali Perry <tali.perry1 at gmail.com>
> Cc: Patrick Venture <venture at google.com>
> Cc: Nancy Yuen <yuenn at google.com>
> Cc: Benjamin Fair <benjaminfair at google.com>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Vladimir Zapolskiy <vz at mleia.com>
> Cc: linux-usb at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Cc: linux-samsung-soc at vger.kernel.org
> Cc: linux-omap at vger.kernel.org
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Acked-by: Alan Stern <stern at rowland.harvard.edu>
> Reviewed-by: Rob Herring <robh at kernel.org>
> Reviewed-by: Alim Akhtar <alim.akhtar at samsung.com>
> ---
> v2: - drop another couple of occurrences pointed out by Robert
>     - drop hcd_name variables as well if the only reference to them is
>       being dropped
>     - pick up acks

I've already applied your first version, so can you rebase this against
linux-next and send just the fixups?

thanks,

greg k-h



More information about the linux-arm-kernel mailing list