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: 9163779 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3AF0C60467 for ; Wed, 8 Jun 2016 09:12:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AB782838F for ; Wed, 8 Jun 2016 09:12:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F5FB28391; Wed, 8 Jun 2016 09:12:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B41D22838F for ; Wed, 8 Jun 2016 09:12:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bAZVX-00088q-I3; Wed, 08 Jun 2016 09:10:39 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bAZVO-0007fk-7m for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2016 09:10:30 +0000 Received: by mail-wm0-x22a.google.com with SMTP id k204so7256675wmk.0 for ; Wed, 08 Jun 2016 02:10:09 -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=TJK1gFGCcPP/ZgWe7VxSc70XM8GAaDubuVHwdtPMpHdmjWsoT3Vq7MP3uFRoc05Sid zN7hWzTBlcYLIOKYQQ+BoknSelupuInRC+9dWGeByDUu2jtvwcCJKQy4OF1T7VrNoQMy L14QzlLAzR2AGXxz1kHcGIQPvLUZe8h8xa8Oi7sxqy5LRdLLYkCNT6pS72+bRb4f/bWj 6XKP9/KpJkabSHJTAzUZG3gWTviBytUUSBrD25OoBfRXCyGZgIcqurZelOfeOG3ZyJVt HYRL4gd5bgvzV1ftyPth25Rtmc60yWnodlDZSijX+UnPsGJFNackJL0bmBwfodP4NoOi QGPA== X-Gm-Message-State: ALyK8tKhS3I8vTprYpQKH1d5R/BNf/jQDCjmEV9a9VBhwnTUaP6bwViIkVrDX92I54P90f3i X-Received: by 10.194.115.230 with SMTP id jr6mr3442395wjb.125.1465377008615; Wed, 08 Jun 2016 02:10:08 -0700 (PDT) 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160608_021030_425036_49CF9005 X-CRM114-Status: GOOD ( 12.55 ) 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: peter.griffin@linaro.org, baruch@tkos.co.il, lee.jones@linaro.org, patches@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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; }