Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp230830ybz; Thu, 30 Apr 2020 20:31:15 -0700 (PDT) X-Google-Smtp-Source: APiQypJBqCwGYbux5Hv7xX/N9FYpguCL32KOv7ZUvoMiduAYPKbo7nqfKBaj5voUXBAzW44fi0So X-Received: by 2002:a17:906:add7:: with SMTP id lb23mr1595830ejb.6.1588303875087; Thu, 30 Apr 2020 20:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588303875; cv=none; d=google.com; s=arc-20160816; b=TWcP4VhEsF9l+jw3TzRfZ7GyzzAnRMtx969pyD35pI1YCG1lO+K3e9CgLWMZ2fchAU kJbQJ+Ctzw6c0px3RkQM1AtDP1V1/RK9RWYtUeiNaTWSYsHI+Yr5jmielIeCrPQzhsFK yem5vj8nM0tolkkJbo05MX3bwZ5ph2vGEJtJe5hGSk2xqM9gXDoUwn2WvvMNjM3PDPUd uudv2nE6A0PBf6KcbKweLTT0t/HPbtE5vh/I4dDS6OzuUDAziqlunIMaE41+kaUumXqY LZ9QI9aVlMJa8yuVw8TDohcZAepEbOkgIWXsWUc/JJQQGVBbq6dEaF+ws4jhapQfcJqm smcw== 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:from:subject:cc:to:message-id:date; bh=0m+BocD4xVZHPWyVZJLmvQF7AGSce8XVhWWQojmNXRc=; b=P5XygnevPSgdEycz27UF3RnekOjAppnN2toq+c0eot2eYi/nZ5yEz+xI/TI9XS8whm K5tJyH6RsQGEr19uyKErOagEmorKZRQMN7NgXFux+MKo/Usd1zYGWFUCuPsFUTBl7dKh Noa6qMQGJwgDTuTi8zw1XV6I4WTm+vId9AVeTCmZrF6Ct1rQiHAnOeiSEEdjOZMHGxHd kw3TRdhJiEoMwPgX5Ev1DAJYmfC0Y5Iz3y9mPv6CBYUw604MFNz0pIoyUuvOZIRtQTvK GOItPqiDORmYqWsX5rmyVXLwB9TTzcG1TnzmAzk8Kwm10qlIvkCpOo53zvvjDn4pVBuC xZTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si1036685ejr.443.2020.04.30.20.30.51; Thu, 30 Apr 2020 20:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728195AbgEAD0u (ORCPT + 99 others); Thu, 30 Apr 2020 23:26:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728099AbgEAD0u (ORCPT ); Thu, 30 Apr 2020 23:26:50 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7630DC035494; Thu, 30 Apr 2020 20:26:50 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 156CE12772F77; Thu, 30 Apr 2020 20:26:50 -0700 (PDT) Date: Thu, 30 Apr 2020 20:26:49 -0700 (PDT) Message-Id: <20200430.202649.2131870872835136856.davem@davemloft.net> To: aishwaryarj100@gmail.com Cc: madalin.bucur@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dpaa_eth: Fix comparing pointer to 0 From: David Miller In-Reply-To: <20200427103230.4776-1-aishwaryarj100@gmail.com> References: <20200427103230.4776-1-aishwaryarj100@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 30 Apr 2020 20:26:50 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Aishwarya Ramakrishnan Date: Mon, 27 Apr 2020 16:02:30 +0530 > Fixes coccicheck warning: > ./drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2110:30-31: > WARNING comparing pointer to 0 > > Avoid pointer type value compared to 0. > > Signed-off-by: Aishwarya Ramakrishnan Applied, thanks.