From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62DF9C433B4 for ; Fri, 14 May 2021 22:13:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FA7361440 for ; Fri, 14 May 2021 22:13:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FA7361440 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6GNEwHZj219AdB9RMWUcvwXxP6y0j87XgxGyaIyqqF0=; b=QV5wBVFQ9DxPVyBUGy6I+YIw6 cZGnElpON7CcfSMUyWgli+SO6wESj0gIU80yg1HMWVEwqloTaz5BhkNsO5Wxz40lxn/znX3Q0J5zR qX9zQkM5p2wtsWhXAn7o8oQQQFcU0Py1eStnwdE6xJ9nhURmBGe7sqnZZEbJC1NDd27oonRJfdT1f FdH7GnOYIUATtuOCrZyHgTM3+gX7ss2MfzZuF0gKulu3M3Ub0dEAcQmBI5IbJXMkay4MuTp0Lh5di wv/mxC2bkhrYpPH34+RE9/9dph9yS0aRjPm0lgAuLyw1Y18nGI1rTy3KDWI++otnJ+uSdxA//A0D9 ybfIqh8XA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhg0g-009888-55; Fri, 14 May 2021 22:10:18 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhg0c-009883-Bn for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 22:10:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:Content-Transfer-Encoding:MIME-Version:Content-Type: Sender:Reply-To:Content-ID:Content-Description; bh=GnUF3EoURLUyKqnF6/lm/I1TJern2ZQxL0PzsTlMpjg=; b=BgRTfqfjm9YgDPRx/wh+m9j8V/ LzmKJLbh7dbONlqT271ppMJjvQzzoXcl6PoVVclA3g5KSyuI2LC9ZFWRFrYRftD6SSj9Mix4D6xZZ 4qJVybOaLmEE+3mbfu/teMNveeB9bYSrRHW3rNwe4AW/2OsG/eT2oczftX763LiE1yKGC44RZG8jW UOaHP+LfdQPE1GXob4oxywr8/sb4JvgfPaSb7rq+kdTszdTRZXFU6qYTqPX31zWJelPeqZR6Vsem2 WExc92PVHijTrV0J/irWdvl966RZcG6R3WMcYbUWWPCZY02qwZubCmq62QhHE9R4AJdtwtpyvalyL wFRmRL9w==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhg0Z-00CI8x-Rb for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 22:10:13 +0000 Received: by mail.kernel.org (Postfix) with ESMTPS id D551A61461; Fri, 14 May 2021 22:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621030210; bh=0644Hxl3cYYHB0tCAJJLMMRQ/pCawIJWC/df87nRxNI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=JSlwIinz1pXfaCkNRsAXc/y7savHkzu+cXu5JjkqECbHgnNG+MwgNyygEniF8YQEl 6MjondPkOCnnuk34XqubkRloe3fBTfG6+XSIRVYz3Wz+MRuc9sOAAbwtZQ75RucWYK HUmrt6xhfvyqz2O+081mAU9hN2kKkWpjVK4+c9zySsIHg5geoUn/e7Uxlqi7vWhnPM 4r1r+gynkOii7w1EbBcGMSzfyLn//bmGnYphtpTPhR6AcIMvMAonYAA8vOvKeBHuXx g8LpB+iqDh7vRNfTpH7L2L49EXT6YLuOWiYovyAEY+E8P87XvtmJJ0TJWzblZXYCPc 1aYL6TZD2rH1Q== MIME-Version: 1.0 Subject: Re: [PATCH] net: thunderx: Drop unnecessary NULL check after container_of From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162103021084.1424.4996581481002361141.git-patchwork-notify@kernel.org> Date: Fri, 14 May 2021 22:10:10 +0000 References: <20210513230418.919219-1-linux@roeck-us.net> In-Reply-To: <20210513230418.919219-1-linux@roeck-us.net> To: Guenter Roeck Cc: sgoutham@marvell.com, davem@davemloft.net, kuba@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_151011_950657_991784AD X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Thu, 13 May 2021 16:04:18 -0700 you wrote: > The result of container_of() operations is never NULL unless the embedded > element is the first element of the structure. This is not the case here. > The NULL check is therefore unnecessary and misleading. Remove it. > > This change was made automatically with the following Coccinelle script. > > @@ > type t; > identifier v; > statement s; > @@ > > [...] Here is the summary with links: - net: thunderx: Drop unnecessary NULL check after container_of https://git.kernel.org/netdev/net-next/c/fc25f9f631ac You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel