Message ID | c536cac3-0902-5555-8c4f-0038f3609dc8@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 A1FBB603B4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 20:15:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 860B32880F for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 20:15:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78D4828825; Mon, 1 Jan 2018 20:15:37 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 514A02880F for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 20:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject: From:To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Hft9Ja1Y9JOcAnSbecYPb+uqzM9YI8OO6Efks28Khu0=; b=ByV7VnvfF+82mq E4vqTDDgN0j74/J3eFx1KOUDWe0Kfi9pghTWflJChKqv8IO4ByjqP/hvWALJJw2zchRQRiNb5tHlD qT7kH8d9w7Se+5TX9yyp/WxvAdj+ZD2yYX9pBRwLvXF4BCBJW+hknvbr3IxFFW0BClFu2rqGRhKux uiykK09EOX9fY2Nwu/g1I5/P/g3lYAOZSKBcTuKwd/u0KjuPnaIOw2WMZrmwIx6J/CbAm/aXYl93H MuPKEo93TEBlLAqSM007DeAS8CprnMWbHJxT9y/W7RQhKTnOSW2VE/7EGKq5ld7Qi4QZbld6ZexZu eNP6ZmU1dyKczHCPauyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eW6Ud-00020G-Mr; Mon, 01 Jan 2018 20:15:31 +0000 Received: from mout.web.de ([212.227.15.4]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eW6Ua-0001yc-L5; Mon, 01 Jan 2018 20:15:30 +0000 Received: from [192.168.1.3] ([92.228.170.170]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LlWVj-1f5z0H1MkJ-00bIIJ; Mon, 01 Jan 2018 21:15:06 +0100 To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Felix Fietkau <nbd@openwrt.org>, John Crispin <john@phrozen.org>, Matthias Brugger <matthias.bgg@gmail.com>, Nelson Chang <nelson.chang@mediatek.com>, Sean Wang <sean.wang@mediatek.com> From: SF Markus Elfring <elfring@users.sourceforge.net> Subject: [PATCH] ethernet/mediatek: Delete an error message for a failed memory allocation in mtk_add_mac() Message-ID: <c536cac3-0902-5555-8c4f-0038f3609dc8@users.sourceforge.net> Date: Mon, 1 Jan 2018 21:15:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Language: en-GB X-Provags-ID: V03:K0:NElbU+IBj3gO3FTqs5IOBqeTGhxfr6GE9GrCcYxJWiaPSWjzzjb DoNeSVO/UVvHxGClNR6PKaSGMvRAahCtMDfkvpdi1PTnJaF7FOCznJXaAPMhJ1b9Xzvi2v0 PVTo94/2cympJ1q3zNBiEXHgzH1wagUprfKI1MO9aDbC7wiqa4ZVtGgCKL+wfUN41C3EDqK j1ZCg45d+VRyHL/WxeMcw== X-UI-Out-Filterresults: notjunk:1; V01:K0:GB/0+8+A1dc=:IxTMf6NSQ9Lsg6Z8fU+qzJ owwGiXFAx+ceDwdA2RHzizfMNfkqcJjFeymbVxaAQz4ULWggWsveYP8cEfWmtTYXpaRgSg3cm R874X7kMK6t+wg3Cq9qilLYQEzKAQ0cMaRhFFUa1PCelFsqpEchV4RP1wPuBr4c9GjEHbZvGL Woc4twnJczDuCbng+LCp9GoIPJeJZxc+WZDhMm251vAmfF9NnvZYeuUP6eCWohz/fTcE2CAwv Cuk7WYWvcP3EMiMcOV8gVFYWn6W2tK8ENnQHwCA9eme+5KQXyAt7WUeFRSLTVa3vME85IlpUO Na99uTmqHYhMWkF6t/xnHD4EnpVw7Jw7cyyooXonPWRzIT24/ca1uokqrRMla/2VBHb6dnpfd qvsJLHMV034qfVy9DI6UCf86yOaK/ctwXx4cfuSXAn2heagbBBIFhUUTc9puzbPqY/vx+58bW RG/XP38ipetla17MtJS0p5QRSVjhmYSGvrwtkZLxSeADk0syuv1RCPOS4dwAJVOpPQgz+HLsP W9p3yyhiRQNYIWg5if1FELAD2cZmIk3UtRs0YGpHg3ZKkcgzHJ+LGmj45YtctUxv0EQb20Re2 DuA8MX8C6euTW95QE5QgCthMDw0f0zObVLy1dSvLeEHh7mG2f47Qy+oTCmbPEy3fyX2V7c72A T3XTZu2w4fEOH+zNC5wzhko0T10TtR3dERrBahZ22JZ9FjIEHYBgJdWEER74Wol5VS7x23O6c dwBzaX/wD+1AgBnWihfX8VpXNZjyXlKszL5zx8lrtEhmgN9SfjEzYKTbnVHRhDpSectSO0fBW FbhQ0oWcDvZo7fSYc9V7w3dl+XuNnjo9kwZyIaSvJNHPoVI7Os= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180101_121529_034886_071F3696 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 54adfd967858..52d489c1ceae 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -2427,7 +2427,6 @@ static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np) sizeof(*mac->hw_stats), GFP_KERNEL); if (!mac->hw_stats) { - dev_err(eth->dev, "failed to allocate counter memory\n"); err = -ENOMEM; goto free_netdev; }