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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85B3EC433F5 for ; Thu, 10 Feb 2022 19:00:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AF0A06B0071; Thu, 10 Feb 2022 14:00:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A78BC6B0075; Thu, 10 Feb 2022 14:00:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 940196B0078; Thu, 10 Feb 2022 14:00:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0225.hostedemail.com [216.40.44.225]) by kanga.kvack.org (Postfix) with ESMTP id 810336B0071 for ; Thu, 10 Feb 2022 14:00:00 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 3C61D181AC9C6 for ; Thu, 10 Feb 2022 19:00:00 +0000 (UTC) X-FDA: 79127784960.11.34C3A1E Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf21.hostedemail.com (Postfix) with ESMTP id C32931C000B for ; Thu, 10 Feb 2022 18:59:59 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CCC1060FF2; Thu, 10 Feb 2022 18:59:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5FC6C004E1; Thu, 10 Feb 2022 18:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644519598; bh=YFktQwJN2xGkszkwO47NT32ieJ7RBfq1Vk3zcnkAT2Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eyUzLU8rjDQBxvWQTVFEW4fixGkc+uKDKbKJsDysKORjE2Mv0WQSk0f0KAhTKMgav xw6lMRIKrHrFdORd+dYfIrGocNdmEDPwbgTMMKbWRLfz324yvMEOZbvjkqs4+drpuy w6YF/7AVFOrFlp028ykwFdVU8/qLsUZEGHHO4qkINFfQSp+O/pvaphyhJx5Dzilgix b1mSUbD4D4CPLzpiops9gUlgVa6IoOjaiYugE7uSbEGIx+XfaiRmyQy9QvPWBw0yZl 80Z0rPS1AGxj/TwR1PjWNi3odNFUWdvgz/n30hBOhsHsFFBrN2GG/JSWayLfRjTZ77 Mr98atRGyb5CQ== Date: Thu, 10 Feb 2022 10:59:56 -0800 From: Jakub Kicinski To: Florian Fainelli , kernel test robot , kbuild-all@lists.01.org Cc: Ansuel Smith , Linux Memory Management List , Andrew Lunn , Vivien Didelot , Vladimir Oltean , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: dsa: qca8k: fix noderef.cocci warnings Message-ID: <20220210105956.336c9e6a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <6c74b2f8-dd83-c4f2-cadd-07794a37dfac@gmail.com> References: <202202100634.l8CtrpzE-lkp@intel.com> <20220209221304.GA17529@d2214a582157> <6c74b2f8-dd83-c4f2-cadd-07794a37dfac@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=eyUzLU8r; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf21.hostedemail.com: domain of kuba@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=kuba@kernel.org X-Rspamd-Server: rspam03 X-Rspam-User: X-Stat-Signature: ph6d5ip9umeq98dcxuu4aomazhhnwqdq X-Rspamd-Queue-Id: C32931C000B X-HE-Tag: 1644519599-140186 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, 9 Feb 2022 19:30:48 -0800 Florian Fainelli wrote: > On 2/9/2022 2:13 PM, kernel test robot wrote: > > From: kernel test robot > > > > drivers/net/dsa/qca8k.c:422:37-43: ERROR: application of sizeof to pointer > > > > sizeof when applied to a pointer typed expression gives the size of > > the pointer > > > > Generated by: scripts/coccinelle/misc/noderef.cocci > > > > Fixes: 90386223f44e ("net: dsa: qca8k: add support for larger read/write size with mgmt Ethernet") > > CC: Ansuel Smith > > Reported-by: kernel test robot > > Signed-off-by: kernel test robot > > > qca8k.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) kbuild folks, would it be easy to switch to including full path here? It seems like our CI expects that and ignores this patch. > Reviewed-by: Florian Fainelli Applied, thanks!