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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80217C021A4 for ; Fri, 14 Feb 2025 14:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=j1isEgqz4lMKKGjFq9i8WFvGCGtkmoVJAb+vZr5tW5s=; b=Inhy09olPmt47QlOKyxRCmRaP1 boTIaXs9SMTYMsFJsIeNh7xCjMkIwOd+c9NaAPiQmcgY32Zq5epGiDsifSzHM4Xs23h0McY+TTvVr coquEttyKpGwuehED/cbT2eItW/y3B5tpL75hOt5F8rjv2iLZgtu9UO/6X5UMOWhahjb7daJSZ9xx zDAPJ/UVSZbEBimgizTTHwht3TEAX4JAPYdXo53PBuQ2kTL0gXnBl62f/xxijGv6ie03fclxX2D4u tgfsJCajmuqmV7WWcvhg1eizQVl6Ifo+uBgpa7srFKLtpL8mXnOLR2yvnT1Ax8HblCwmzmvoGHUBG HZS3zYtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tiwMH-0000000F6K8-1Foy; Fri, 14 Feb 2025 14:07:57 +0000 Received: from mgamail.intel.com ([198.175.65.12]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tiwKp-0000000F67b-2ZHY; Fri, 14 Feb 2025 14:06:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739541987; x=1771077987; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9cBFlk2elfhIUBovJUgc2pj982hQ8Go+77xQ1AoDVOk=; b=CCrWJsCruHl4hK68obUB2qrJNgX96WuWIl0gz62cmUKUCge3e7tUjKEP D7e7kDRKJbEZ6NvwA9DcZ9WGioeXz13GJfTqO0gVXCfCIuv82dnFtIJBO c7PcL4hlsj514wbfmzIyFbD+GhxEDyt/+jXw4N0Hor4u247XEYwFeQLKz k6hkxf3OFbNAg9dI3HSuK8JZgUbRtSfPyvgPtGj6zRwoB1XvqWfP6EWKt rxOotn4sVQhImIcGjWmAAlSXNjR6Sn22ncuMpi1hQBSpd3HJPzAkFeJt5 BzsJF4is7FXDq6jneZbOFWybr3FQ0OJG4VcYRU57Udfu47V4Gqe0urQuW g==; X-CSE-ConnectionGUID: rDgNbYgAQdOG2dkVWfvevQ== X-CSE-MsgGUID: 5K1sD+ZCQNuk11OTftFiLw== X-IronPort-AV: E=McAfee;i="6700,10204,11345"; a="51690481" X-IronPort-AV: E=Sophos;i="6.13,286,1732608000"; d="scan'208";a="51690481" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2025 06:06:26 -0800 X-CSE-ConnectionGUID: GAM0Tt/hQbO7u9VXlp1RNg== X-CSE-MsgGUID: OeYg75QKQSWqKE5danBI+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="118399870" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 14 Feb 2025 06:06:22 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tiwKg-0019df-34; Fri, 14 Feb 2025 14:06:18 +0000 Date: Fri, 14 Feb 2025 22:06:02 +0800 From: kernel test robot To: Lorenzo Bianconi , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Felix Fietkau , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Chester A. Unal" , Daniel Golle , DENG Qingfang , Vladimir Oltean Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, upstream@airoha.com Subject: Re: [PATCH net-next v4 14/16] net: airoha: Introduce flowtable offload support Message-ID: <202502142131.na71FjkW-lkp@intel.com> References: <20250213-airoha-en7581-flowtable-offload-v4-14-b69ca16d74db@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250213-airoha-en7581-flowtable-offload-v4-14-b69ca16d74db@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250214_060627_694150_8609F216 X-CRM114-Status: GOOD ( 11.62 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Lorenzo, kernel test robot noticed the following build warnings: [auto build test WARNING on c3a97ccaed80986fc3c0581661bf9170847d23ba] url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Bianconi/net-airoha-Fix-TSO-support-for-header-cloned-skbs/20250213-234737 base: c3a97ccaed80986fc3c0581661bf9170847d23ba patch link: https://lore.kernel.org/r/20250213-airoha-en7581-flowtable-offload-v4-14-b69ca16d74db%40kernel.org patch subject: [PATCH net-next v4 14/16] net: airoha: Introduce flowtable offload support config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20250214/202502142131.na71FjkW-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250214/202502142131.na71FjkW-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202502142131.na71FjkW-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/airoha/airoha_ppe.c:818:6: warning: variable 'err' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 818 | if (!eth->npu) | ^~~~~~~~~ drivers/net/ethernet/airoha/airoha_ppe.c:820:7: note: uninitialized use occurs here 820 | if (!err) | ^~~ drivers/net/ethernet/airoha/airoha_ppe.c:818:2: note: remove the 'if' if its condition is always true 818 | if (!eth->npu) | ^~~~~~~~~~~~~~ 819 | err = airoha_ppe_offload_setup(eth); drivers/net/ethernet/airoha/airoha_ppe.c:811:9: note: initialize the variable 'err' to silence this warning 811 | int err; | ^ | = 0 1 warning generated. vim +818 drivers/net/ethernet/airoha/airoha_ppe.c 803 804 int airoha_ppe_setup_tc_block_cb(enum tc_setup_type type, void *type_data, 805 void *cb_priv) 806 { 807 struct flow_cls_offload *cls = type_data; 808 struct net_device *dev = cb_priv; 809 struct airoha_gdm_port *port = netdev_priv(dev); 810 struct airoha_eth *eth = port->qdma->eth; 811 int err; 812 813 if (!tc_can_offload(dev) || type != TC_SETUP_CLSFLOWER) 814 return -EOPNOTSUPP; 815 816 mutex_lock(&flow_offload_mutex); 817 > 818 if (!eth->npu) 819 err = airoha_ppe_offload_setup(eth); 820 if (!err) 821 err = airoha_ppe_flow_offload_cmd(port, cls); 822 823 mutex_unlock(&flow_offload_mutex); 824 825 return err; 826 } 827 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki