From patchwork Wed Jun 8 09:10:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 69601 Delivered-To: patches@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2385380qgf; Wed, 8 Jun 2016 02:10:09 -0700 (PDT) X-Received: by 10.28.9.139 with SMTP id 133mr3978356wmj.93.1465377009046; Wed, 08 Jun 2016 02:10:09 -0700 (PDT) Return-Path: Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com. [2a00:1450:400c:c09::230]) by mx.google.com with ESMTPS id ib3si330028wjb.118.2016.06.08.02.10.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 02:10:09 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 2a00:1450:400c:c09::230 as permitted sender) client-ip=2a00:1450:400c:c09::230; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of peter.griffin@linaro.org designates 2a00:1450:400c:c09::230 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-wm0-x230.google.com with SMTP id n184so171693744wmn.1 for ; Wed, 08 Jun 2016 02:10:08 -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=aeNEjEHuDt8VwWndNZTVp0x4oj+ZsYu/dsURFhdew0Y=; b=DuClv5Ck+1QpA4CzK7i7Op9XDVVCqV251/26QNcdGJpICi1CixL5Oci4D9N+AMySyv CRI3QOcOTTPHcIsUmEnO4lHnEzPC+B6W1GZfGX9TEdIiBQcum7h12vKx4hVLFQIHUbiQ +2fmdgZXpBclY9m1IiKQUcGJaI+Jd4Dh5ZO5Q= 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=aeNEjEHuDt8VwWndNZTVp0x4oj+ZsYu/dsURFhdew0Y=; b=JnZC4UiuGzRghnOYlVcovlHjqT9k78AHP+G1whZMZGpA8UYNPJZoHnlKuyc8ljGdZ8 YYxjDSF2vvhMvtcHFeJWbyOmDx6R3zAkC/9JSlRTgFMb53wi/tzC8ZFBcxw5ubDrttGO Qeuosbt5AV9+kOpJuY9dxttOROUHUOW6aY2iZMg1GkJVJCHpVIoapOefMSzmb1sFZwTC W7zEb9ewEccFoxOgJTBJ1fgpUA2TVWeVPQkYMswWzOaQscZMqyPjyheblTVDFTmeH80Q MkZ8rcgXUYyHcPP3Fi23FsZgNOfRXis1Li9f0zysF4Jk+DlWDNy8CsJ0NEBtJg7G8bUr L38A== X-Gm-Message-State: ALyK8tJgYJp4EvcM+uehy4No/uzOwLSGcI/VN9JHbplTxLJieWP1veMXIl2QCpKsEJhz5KwLblc= X-Received: by 10.194.115.230 with SMTP id jr6mr3442395wjb.125.1465377008615; Wed, 08 Jun 2016 02:10:08 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc84731-aztw28-2-0-cust112.18-1.cable.virginm.net. [82.37.67.113]) by smtp.gmail.com with ESMTPSA id y1sm311513wjl.31.2016.06.08.02.10.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 02:10:07 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kishon@ti.com Cc: peter.griffin@linaro.org, patches@linaro.org, lee.jones@linaro.org, baruch@tkos.co.il Subject: [PATCH v2 2/2] phy: phy-qcom-ufs-qmp-20nm: Remove site specific OOM error message Date: Wed, 8 Jun 2016 10:10:03 +0100 Message-Id: <1465377003-25660-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465377003-25660-1-git-send-email-peter.griffin@linaro.org> References: <1465377003-25660-1-git-send-email-peter.griffin@linaro.org> kzalloc will issue its own error message including a dump_stack() so remote the site specific message. Signed-off-by: Peter Griffin --- v2: Add brackets, so goto is not executed unconditionally (Baruch) --- drivers/phy/phy-qcom-ufs-qmp-20nm.c | 1 - 1 file changed, 1 deletion(-) -- 1.9.1 diff --git a/drivers/phy/phy-qcom-ufs-qmp-20nm.c b/drivers/phy/phy-qcom-ufs-qmp-20nm.c index b16ea77..770087a 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-20nm.c +++ b/drivers/phy/phy-qcom-ufs-qmp-20nm.c @@ -196,7 +196,6 @@ static int ufs_qcom_phy_qmp_20nm_probe(struct platform_device *pdev) phy = devm_kzalloc(dev, sizeof(*phy), GFP_KERNEL); if (!phy) { - dev_err(dev, "%s: failed to allocate phy\n", __func__); err = -ENOMEM; goto out; }