From patchwork Thu Aug 4 09:21:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 73252 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1289990qga; Thu, 4 Aug 2016 02:25:10 -0700 (PDT) X-Received: by 10.98.57.90 with SMTP id g87mr124299767pfa.106.1470302710047; Thu, 04 Aug 2016 02:25:10 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id t4si7999256pac.112.2016.08.04.02.25.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 02:25:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVEsm-0006Li-RX; Thu, 04 Aug 2016 09:24:04 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVErh-0005OT-Qi for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 09:22:59 +0000 Received: by mail-wm0-x232.google.com with SMTP id f65so476968561wmi.0 for ; Thu, 04 Aug 2016 02:22:37 -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=L6UrAcTFWATwr0l3LXf/VRUBHvSKXJ/eGLjGCQWPVNI=; b=cshLsYPQL7pc6T2cizwIt8rglqt0YkYI9asGDCRLzBTRfQqQjSOQ8RRrLWP3MH7rSN Hleq7/R5+P/iNpzIJiSmaqwxVtYquGPTSBzg0gIHn8jTj0LICyQwTjPwAR1WrfuYPEwv SrR3xROB6QUf89IWHycviNiQRuBQvX6EvAuY0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=L6UrAcTFWATwr0l3LXf/VRUBHvSKXJ/eGLjGCQWPVNI=; b=FGTiqNybIvafMIquo655bdRRAG/U09c/Weu5EnfypbN80QW8HJiPKgLur8Loyx9prH xoa01UP5wP3h6qaZKExWObYHVPaeMCeWUe8mJY20janhNP3kWKZzBAnnFOAPrBlPr2eN JT4aLzsWBExmGc+7j6zwvmyfrRWUcfXXx/JO/0GppJvfCEy1e5a59kvzHKM9l276m5f4 imc02F6DEy24FChHV934trWIGo+APNLneZt8B516Slg/LA99SviJHcsZfEZNLRUUNzob +ebTEcYazMa30bETVzK6G9Vw+OdG6p486hYqFXmiTeRuKvkUV8Nwvm2m7xsIjEKcu4BQ fvSw== X-Gm-Message-State: AEkooutTKoH8dNo/eyjKh4wi1cK/TwUa/PpLMnGASEzh7vBfnOJrSJH895ngz5oq4TsDLCln X-Received: by 10.28.9.67 with SMTP id 64mr74442514wmj.36.1470302556148; Thu, 04 Aug 2016 02:22:36 -0700 (PDT) Received: from localhost.localdomain (host86-185-202-8.range86-185.btcentralplus.com. [86.185.202.8]) by smtp.gmail.com with ESMTPSA id d64sm2615461wmc.22.2016.08.04.02.22.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 02:22:35 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/9] remoteproc: core: Remove pointless OOM print Date: Thu, 4 Aug 2016 10:21:47 +0100 Message-Id: <20160804092153.23032-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160804092153.23032-1-lee.jones@linaro.org> References: <20160804092153.23032-1-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_022258_149198_C11EF171 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:232 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ohad@wizery.com, kernel@stlinux.com, loic.pallardy@st.com, linux-remoteproc@vger.kernel.org, patrice.chotard@st.com, bjorn.andersson@linaro.org, Lee Jones MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org These types of error prints are superfluous. The system will pick up on OOM issues and let the user know. Signed-off-by: Lee Jones --- drivers/remoteproc/remoteproc_core.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 5654a81..4914482 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -619,7 +619,6 @@ static int rproc_handle_carveout(struct rproc *rproc, if (rproc->domain) { mapping = kzalloc(sizeof(*mapping), GFP_KERNEL); if (!mapping) { - dev_err(dev, "kzalloc mapping failed\n"); ret = -ENOMEM; goto dma_free; }