From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790AbcCPJ76 (ORCPT ); Wed, 16 Mar 2016 05:59:58 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:35900 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbcCPJ74 (ORCPT ); Wed, 16 Mar 2016 05:59:56 -0400 Date: Wed, 16 Mar 2016 09:59:46 +0000 From: Mark Brown To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Liam Girdwood Message-ID: <20160316095946.GR2566@sirena.org.uk> References: <1458074114-8088-1-git-send-email-javier@osg.samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MI2pJyvBeFc4alSb" Content-Disposition: inline In-Reply-To: <1458074114-8088-1-git-send-email-javier@osg.samsung.com> X-Cookie: Walk softly and carry a megawatt laser. User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regulator: Don't print error in devm_regulator_bulk_get() on -EPROBE_DEFER X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MI2pJyvBeFc4alSb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 15, 2016 at 05:35:14PM -0300, Javier Martinez Canillas wrote: > The regulators may not be available just because their driver's probe was > not executed and the regulators were not registered yet. So don't print an > error in this case to avoid polluting the kernel log and confuse the users. We've been through this repeatedly - this is the case for all probe deferrals and if we just don't print the errors at all then people won't be able to tell if they've got a missing dependency. We need people to work on things like allowing the kernel to make use of the dependency information it has to order probes more sensibly. Raphael had some ideas he was talking about at Kernel Summit for this, Russell King also proposed just suppressing the errors until we're at the last deferred probe run at the end of init. --MI2pJyvBeFc4alSb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJW6S6RAAoJECTWi3JdVIfQYa8H/2Y7VACzPLvE/Mc61/Efqo6q jdyTt8/NFS0Yr+EA097a94cl/OJmfYg+TvNj3vg0LnGwnwkg8eNvlcEk65h7wb3i oaIaiRCkGAUbsp+LCksYY5peu2+RzpCxX61NHO4J+A9XhzSdGmefPPCBtVuDrqHn Yerx32LFbvkFvRnX7/GLxqO2eGU+RX0oOQEFpm0pMxFzrFEs9/z9tDMl7qkpeAGl Or5vFHvLvUrx7dvMXOveiOGXSAOkaUGJPLemx9KxVfEVrjlvp+xk44Puo3pgOIf4 uYm7+JkGYR2m5hMBt6T2VvMrgDwKNYFPg806H0Cl/QT1KQ3tlw7MePKcFir8Jg0= =Y7vv -----END PGP SIGNATURE----- --MI2pJyvBeFc4alSb--