From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19251ECAA24 for ; Thu, 25 Aug 2022 18:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z13oWmzOtTiOSuAU/zFkT+dBhxbyH6MWiayWYn3yvvc=; b=WSjp/aYwrTkUOG K3kngjmNrbMLkih03+rbOv6N3yItQOjZLo9mKrZhMrUVSs4QM4G88FsLZgtFWjPWRcju+KhekZnt2 rgwdiWZrAlIHzIeEtFYgQv++gNOz0FDnUAM0r0gjSDqH82/42eQhUTyBe0sJ/6ycZb/iq/7/0Tb1K gk7cqeoCMmQy7LgIe0nytkQ7IAzKzxXg3ByHqJX4XBXcZvffONOSu1IRVm5PTSVLSywLuzrl6dTtH YAdINA0UkhiNerak9VQIJs+fTXN10olEOP4036Rb9/Xw6TDmiy/xrle0yTFQZ1iwyycLsYO9/hUxN jX6GmdwTPuEnUKirhxKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRHJR-000KrO-Ts; Thu, 25 Aug 2022 18:10:42 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRHJN-000KIA-ED for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 18:10:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wst73/cqMwGjmGOJVyTXlZ5/UsYnUHBn/q0HBx+aY7s=; b=cg3wfIx3/SAJL4Yd459Y6lAe/H SGTYmVSI4dZx78f7Y4jGujK9aM8Bns2ShgvhZuCixt4gDlc7kqtTZrxv9r98Jb/NrXytIPDpoMHLG ipPtV4XVokk8uocHif+fItWyFzFkt5Zls7VkpSOXgxx31l57HFzm4MVdw97pR9i+hBUGo27vYgrCf Y6sbMl8Iezqit1navLC1raBHcdSTyxIta7UWAJViJBVSIA5Zw3U6e65d1Qyfeo5/R2pWKqFZ3JSiu gfcUkZLBA4iCPxJCVp5C2G5xVC5xITcSD3yxZgljYHYU97tuvd3nKCCRQBpQBl7wZHVBTAzRDKGjh lBmHxf0g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33936) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRHIz-0005S4-JW; Thu, 25 Aug 2022 19:10:13 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oRHIq-0005J3-Pm; Thu, 25 Aug 2022 19:10:04 +0100 Date: Thu, 25 Aug 2022 19:10:04 +0100 From: "Russell King (Oracle)" To: Alim Akhtar Cc: 'Ard Biesheuvel' , linux-kernel@vger.kernel.org, 'Alexandre Belloni' , linux-samsung-soc@vger.kernel.org, 'Tomer Maimon' , linux-omap@vger.kernel.org, 'Avi Fishman' , 'Greg Kroah-Hartman' , linux-usb@vger.kernel.org, 'Tali Perry' , 'Nancy Yuen' , 'Krzysztof Kozlowski' , 'Alan Stern' , 'Patrice Chotard' , 'Patrick Venture' , 'Vladimir Zapolskiy' , 'Claudiu Beznea' , linux-arm-kernel@lists.infradead.org, 'Benjamin Fair' Subject: Re: [RFC PATCH] usb: reduce kernel log spam on driver registration Message-ID: References: <20220825170327.674446-1-ardb@kernel.org> <065601d8b8a7$6fee5850$4fcb08f0$@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <065601d8b8a7$6fee5850$4fcb08f0$@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_111037_796250_68FCBF92 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel