Message ID | 20190809144043.476786-9-arnd@arndb.de |
---|---|
State | Accepted |
Commit | 772775c1dfe00c99a9fe449ed35f74f1067f0128 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp10103955ile; Fri, 9 Aug 2019 07:44:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzt4OGzsdpJQuA0sGc+Q4BaK9rE9DsW+nmhyoXbv/vQKTnKxTzVLl7+8FQTKiMKr0j2LKip X-Received: by 2002:a63:506:: with SMTP id 6mr17655231pgf.434.1565361874288; Fri, 09 Aug 2019 07:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565361874; cv=none; d=google.com; s=arc-20160816; b=Gb8kIpd59dqEMKz59jP/1C3uZ+78+oz9FYDOPafZta+rwBJR7D4J0f/n7RUt2yV1Wi jP4LKtmvgoiERCwlxyhyzXgLyAFaZwExfG74PCIjhh877c9YxN63c8DnJwM/+4+BoHj9 ws9yn/PRYX6ETY/adipmFc8ldrEUg2+YKKQfwYFpHGvWjzKWbRYub1+IqAw0CvcerfZz /w0/sG+i1uLuglg68SVh65Dw6w060/L/M0kGWkW3CUx9fIhGFvDqW8Uo28U6kA9yRztU kO3ZNqh9Lt0nWk1TwmeUcO/HFLG2eVUU4MA8rOfKQDqeyV5tghcQmqmQYMARQ9jjUFgM qH/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TYyx0FUA/ofsYfk9SQzB36989rINHG8jTpTEvzlWzsk=; b=Q7oLWs5DMW/gi/f51r4x0/Qh43cNEte0FCq+OdOUvNbZPGW+ANM2VRTqEoeq4wBb/7 kV8AgKaseGGFjXDSyusGdS50OGK9AYTMMNqz7mVf4oI6sTqdacZzAt5sJqmBF/ilkjuT 1TBLJtK/1Jf9FJhcQwlDDBv6VltCywRZmRidHDkLnXD48nNNZId5pHVoLNueexxVmWO0 TOdRtdZC3d4dHO0wN/bNXVA818UZGPRhHluCYzXBicmG/IlJgatbGarwOV8++D5JPlGf +9spQANjHRktovzdqUeLCEbvGm5OSblh/D3W+USsM2X3tkuFOrVNw8pJ/SjN7Tt8PObn auWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si49572445plb.14.2019.08.09.07.44.33; Fri, 09 Aug 2019 07:44:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407161AbfHIOod (ORCPT <rfc822;mike.holmes@linaro.org> + 28 others); Fri, 9 Aug 2019 10:44:33 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:54831 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbfHIOob (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Aug 2019 10:44:31 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MeDYt-1iUKLc3gKV-00bKl6; Fri, 09 Aug 2019 16:44:12 +0200 From: Arnd Bergmann <arnd@arndb.de> To: soc@kernel.org Cc: Vladimir Zapolskiy <vz@mleia.com>, Sylvain Lemieux <slemieux.tyco@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kbuild test robot <lkp@intel.com>, Arnd Bergmann <arnd@arndb.de>, "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org Subject: [PATCH v2 08/13] net: lpc-enet: fix badzero.cocci warnings Date: Fri, 9 Aug 2019 16:40:34 +0200 Message-Id: <20190809144043.476786-9-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190809144043.476786-1-arnd@arndb.de> References: <20190809144043.476786-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ymJswPYKYUfJcYhkgzxASapbRky55SNMKmN45E1N1FA/lD9wVRt nEkanG7MtJ/Pqveg+h6/6LAG+DrFlq4SuhWOfaZiZETH7gs4em9A42H4Zt4uT3VfWrhsRIe CulwVh+XfSAkba94KTZX+nwNfSPRHjC2+ey++8db5AJWpxOhnI+dyS0vb26UIXRYODolgss ynV1gvQMpkNJsma+aWNww== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:DJdco6j8rD4=:dQhHBR77IFlKfKZRM8eVPy V4nC2W/CrV/kLoRpyM40abNGXn7N9t/aH3K6fSYmFvDJr7DP0iiwcuYczFi4+CUVeoUIdbnMI arj1+4IXw5yJCeQTYabD611KpdLgrW7/n+Sc3ySzEvRoON9NljdOTWLx1riZgBH8a+wiRXA+L Eq7ZMP3kqlqu1mdz6XZUdwfunBrF7kR81tnf374XRy0wcH9UI9pI1LPhQu4CxyQlr85VMyZbg MhS/+C5PMG7Lyc9niJLsIzIHqazyAa9QgashCgryO59fbkX7/lpkbilsIGUSCuQ/IzaJcH6cV Q0dtBElm1MOZYc7+F4ZRBk/XAnZH40dzJpa3NYDI+N4O/wKzd1jnNyobsVqrxesXszSXszE9a CU6nIAwn9meG1N+GkMf+kB32G+m2gqCI7O0myYNCfDswYe0kxTEI6pCxJIZHoavUtj7pPfAt/ 3ZlaoDE6Od+cEXOij5a2FrcdIj94CHIauGWDuM/3zIsqw7SBVPobAgPkN7iGhLnSCQVB1GvMU 5wUJ8aM5BAQMSMG8/TVMdRjFtlbnsBbq1cVqM5oSyJVzfFfum40hbwvFTL4i2BqXgJBWgzk8E gAvKXfQuhMQL0z7O1bJJyFvZ1oZ8MoFzb8fhiwTteLjiO2a+OB0LVNxbmJTw++1xInAJgDDgO 0G/+Jii877WgDnTQ4DecrPqaIx+F4QDoF2YK8KG7GHUHKoeZqLRr5CHs2p7m1l9QYrih/gVOv BKbi3SN3knrMlI+s1+mASE3vWQVTBTatnNgMew== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
v2: ARM: move lpc32xx to multiplatform
|
expand
|
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c index 0893b77c385d..797bdbbcef76 100644 --- a/drivers/net/ethernet/nxp/lpc_eth.c +++ b/drivers/net/ethernet/nxp/lpc_eth.c @@ -1312,7 +1312,7 @@ static int lpc_eth_drv_probe(struct platform_device *pdev) } } - if (pldat->dma_buff_base_v == 0) { + if (pldat->dma_buff_base_v == NULL) { ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(32)); if (ret) goto err_out_free_irq;