Received: by 10.223.176.5 with SMTP id f5csp622591wra; Wed, 7 Feb 2018 04:58:05 -0800 (PST) X-Google-Smtp-Source: AH8x224NgprwuzCYnYv1VdjNykUbwHMOXHavxD+DphZNQ7G27N0cxzASsabe7uIV/cUYKgxx8rTK X-Received: by 2002:a17:902:7082:: with SMTP id z2-v6mr4039440plk.244.1518008284995; Wed, 07 Feb 2018 04:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518008284; cv=none; d=google.com; s=arc-20160816; b=Ukrxr2gWNA7+HVtFor9ZhhUeM8sp1at9YDtbDZSVl0JsCX7qmsq7oT6KmqOoViS0CV iKv99S4VlBhXCYFNWyRQfEP0C82D6W3tu+ly8Jw11apAHfvk1v9UiW0D5DrqIzIoCBNf H2YgEBOkGR6r81TmLpk29U6m1iXYe3Xm4DSZdi2AOjb+jdhKiNrZG/l92ejlytVGuWaO bMhRBuYwwxJTvbhGJxW28f4DPtleCJ0+1vlCOc5xo7+FgYc22shf6Ef0k2dLd3LPvtOW 8zmDnsraet9UNedAGSBc8BGWDWcv6laVT35aBPoSeJ0yGFXPfkYZ0yxI0IHejZv1rLYX C0Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=tLaIFOVXrGmqAtJ800DbPfM21VwrD0pXbwG2rZ5gqpc=; b=BQZGl11W6lvXQvpCDqcccVe/SiWcY2BPhZGYoxK9cklZyauT/ZOVBvYDvOV/QXWGLE 50ItCpRWsSrMtSilPMN+GWOgKpz9DJk3pd/pTcS/F4O3vsAxHeniM6oLl+d9rGqB4I/V dCjceY3g7+y2xhLl7ehjm/V+s/JqvlVK7CeGZt6kHeaOjTlkZcboxbPNcNkceAa4yJFA VgZ3n+pYuYsuZpiAGamQX+BCqNFEWtLwuugRHQVlo9RPAPQz4ZjlAUAGnGeuPjWM2fwX yswnPGE9vHkLaT4Nyl7jwdgXD1llcUqWMXs0az+szZEecuQjPSgvp0y6AyQ4YY+XkzNe rbzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FftEokNA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si1038049plc.814.2018.02.07.04.57.50; Wed, 07 Feb 2018 04:58:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FftEokNA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbeBGM5I (ORCPT + 99 others); Wed, 7 Feb 2018 07:57:08 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:47026 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753695AbeBGM5H (ORCPT ); Wed, 7 Feb 2018 07:57:07 -0500 Received: by mail-io0-f194.google.com with SMTP id f34so1892692ioi.13 for ; Wed, 07 Feb 2018 04:57:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tLaIFOVXrGmqAtJ800DbPfM21VwrD0pXbwG2rZ5gqpc=; b=FftEokNAX7DIDvJkkY5BhvEWi5/845m2ayotMcJ6/fxyBZR8dg+cTrWMiTy9CUwg+s 8KnIf93G77cRayI+arM7dzyKvEmToVNdn0ccm9i9mn3y9JHOuJVWVxsQg+503qcxZGAh Syp53hVwXPd2J6jX3e8gn8fAioFCh/xilMUr4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tLaIFOVXrGmqAtJ800DbPfM21VwrD0pXbwG2rZ5gqpc=; b=tww9JKXzi5a0QTNpj5l6lO5q7NfQEkSNXitpOqy3nF4fzqDxrj8wRlwLVf3Gb9Agtq Xue3KLJLjlsNhFsRcHi595dPxO1qjfAzRxBuzBR/LtWfe9LeNpFtsfTIfSsGlW4iFTU5 AfMCjy9pPDvTHVqihKehzW8S6V7fgzp163sC35gVJyKuj3hizeRROLYPIGZRwFLWFu3c 1tCCtSuTE5kFpuQP8AmPCyT+qkCEKDls97yGNftgTx7wxIUGfwqXQDFQNEvgkoSuSAY6 I9Jxy9c7QfWuY6ek/yioPnzD9qTP3DP/7AAMkuPmC/C+JJC4L9ZAlww7hR37Q+zitGfs 6frQ== X-Gm-Message-State: APf1xPC96pl8ehycpTcdW4yiUxDquk0vNEH4aRifDfPaZdVatLp4VSx1 voaWujay5rbzuHXAqSmj5h4yEgYgkSTfBCHWEt+vtQJP X-Received: by 10.107.171.199 with SMTP id u190mr6892118ioe.95.1518008226303; Wed, 07 Feb 2018 04:57:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.131 with HTTP; Wed, 7 Feb 2018 04:57:04 -0800 (PST) In-Reply-To: <1516566774-1786-1-git-send-email-david@lechnology.com> References: <1516566774-1786-1-git-send-email-david@lechnology.com> From: Linus Walleij Date: Wed, 7 Feb 2018 13:57:04 +0100 Message-ID: Subject: Re: [PATCH] gpiolib: suppress error message on EPROBE_DEFER To: David Lechner Cc: linux-gpio@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 21, 2018 at 9:32 PM, David Lechner wrote: > This suppresses printing an error message during probe of gpio drivers > when the error is EPROBE_DEFER. > > Cc: Linus Walleij > Signed-off-by: David Lechner I'm not sure about this. GPIO can be very basic system components. If we don't print this, defer a few times (for some reason) and then the kernel gives up on retrying, silently (as it happens) there is no trace in dmesg of what happened. That makes things hard to debug. This happened to me with some other driver, so it is not a made up example. What about an explicit deferral message for now? Yours, Linus Walleij