From patchwork Mon Aug 26 20:44:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 172208 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4863009ily; Mon, 26 Aug 2019 13:45:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzijidfDsCQEDKxtTq0IlfCTt+GQ+kxSTa8HIpGQv37/jMxEzV89c95J8aupJ2dmfEMXSND X-Received: by 2002:a17:90a:9f01:: with SMTP id n1mr21392663pjp.103.1566852316929; Mon, 26 Aug 2019 13:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566852316; cv=none; d=google.com; s=arc-20160816; b=R0E1UTn/XPb1yzzksPns7fj9Mb2wXplJKjWR0J//KRSwOrofNJTtNQYy/MuyAIWkJt f5vkEA39MYT8ODIHQ2t93mk+5AOdvz44mvIaeXBUPdZuAjFcUc3gOOUh+lLALjZSZwaq KbFVdkGaGuDDtr7UF8Ci+IypXrUVmYhUJ5U27ShSEbnvgYGfJJEc6kNADHa4Q7WsvrDR +u4k5V0b96659l0wiJCySLzkgWoYqqR8JZmXw7RZRuAq7AzO0X45TUmp0UmrqFXlFpEN OUr2GnNsBTr7njXAkmzzb73kp4ZabGCA3Pnbcl34VVjKU46AaG8sng6+++HVcWeMnVtM UNzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=OA1YNeBx+8aF3UbvHkUdfo5e5H5+BTnVhu+4DZoJ9fU=; b=MgetRci2GzvzB0gPnftZbX9RkP4BC2zC/o5uozSgyImSNWmIgt+woTrlqIrxq8zJ9a +qr/BskqEc0M010PBQQ9JjEu9p/ej2dNKuy1e8KxbL1Khj19TQTvOw9dxbvJuwIHaYwa xI890L5TLGF8pt7J8vvWPKSF+eERIU/s9NZSNxSI5WsvkAAICtkhuE/MVnJhbQrwfne3 XsxV60YVsHcFxmstYNF+1unGl7TowUY2UtWLtBEnDm72j5kx+BkEOi3LhVIPJr6aKAXK FSontrbm1V0bxJQ9F70cRBn8qQRCInWaSLS990Tljv/ZyD/QeYCurkPvfFLSaryBfidy 79bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qw2CYVIe; 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 c1si10944517pld.348.2019.08.26.13.45.16; Mon, 26 Aug 2019 13:45:16 -0700 (PDT) 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=Qw2CYVIe; 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 S1731490AbfHZUpP (ORCPT + 28 others); Mon, 26 Aug 2019 16:45:15 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53731 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731391AbfHZUpM (ORCPT ); Mon, 26 Aug 2019 16:45:12 -0400 Received: by mail-wm1-f68.google.com with SMTP id 10so795084wmp.3 for ; Mon, 26 Aug 2019 13:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OA1YNeBx+8aF3UbvHkUdfo5e5H5+BTnVhu+4DZoJ9fU=; b=Qw2CYVIes9ZxpQuAYS32DRr3g29lH2pNz7f0H8wnHGokAThyoTkArELW7SBmIbbV4c P5ns7XUOrNA0fohmMs7EufD86nZuSwaa28iWg6d6KgRf8mE7NhIQE21+NORL44Bzauk5 +MhPJelvveOCWo4yldg2pTnjYn+K4ieQnUaZnGgDtdCCU0Hg8iw5dJ3CzNtxlE2BXHAr NYxy2WUBj4jK9FyYNOXPytaY7RwYVkNrQFGFbkSvEj38CqFm2rRr8BEJdk7OwkroI+Z0 7DnQAqoIri/Uad1ZReHtuhO6q5dcDLoNJ3A/zUbWq8LkopJwXu4EcQkWAX/UIlbSJwnK PKSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OA1YNeBx+8aF3UbvHkUdfo5e5H5+BTnVhu+4DZoJ9fU=; b=PChVKXXhl4zLLAzvbYnTGzxME6Wv+WfqtLgODXlmq7RBzPXyfKVcBW1S4nktXnKmZt ID+OJEx0Q3BU50DbJ7uCvgiPqLLnBgsDuk7e9yEkDQCJGu2u4xB29D1uqEJxpLyb72XX 5Rl6xhzDzAck/Zw279ujiO7Asze7BawXfuS6BF2cmXFpJOXo2G8roFHgzlSs7+W9oDq8 eEZNrad28WR/EuVIUCQG1hYMbQXhaCWQWOawSfFAENC8EUiSVCgnLkrFcezoLyOL8Q6s 3eFbu9LV3E9doGbbdh2BfPoWCa1/aGMYiw4nrTIfzlFc3PpGl3608gEKY1dBbqTnOIWu D+Ag== X-Gm-Message-State: APjAAAWfhH+5ICrqL2LktqkVFTfTEGeVPIdMoXOpizw01lXSv4bxVuw3 O/1n9ItwGXp6CK+pjNTrp5LiVi1OW+M= X-Received: by 2002:a1c:45:: with SMTP id 66mr23577980wma.40.1566852310139; Mon, 26 Aug 2019 13:45:10 -0700 (PDT) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:f881:f5ed:b15d:96ab]) by smtp.gmail.com with ESMTPSA id 20sm549557wmk.34.2019.08.26.13.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 13:45:09 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Jon Hunter Subject: [PATCH 13/20] clocksource/drivers: Do not warn on probe defer Date: Mon, 26 Aug 2019 22:44:00 +0200 Message-Id: <20190826204407.17759-13-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190826204407.17759-1-daniel.lezcano@linaro.org> References: <20190826204407.17759-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Hunter Deferred probe is an expected return value on many platforms and so there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-probe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/clocksource/timer-probe.c b/drivers/clocksource/timer-probe.c index dda1946e84dd..ee9574da53c0 100644 --- a/drivers/clocksource/timer-probe.c +++ b/drivers/clocksource/timer-probe.c @@ -29,7 +29,9 @@ void __init timer_probe(void) ret = init_func_ret(np); if (ret) { - pr_err("Failed to initialize '%pOF': %d\n", np, ret); + if (ret != -EPROBE_DEFER) + pr_err("Failed to initialize '%pOF': %d\n", np, + ret); continue; }