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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9484EC43334 for ; Sat, 16 Jul 2022 22:51:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232778AbiGPWvI (ORCPT ); Sat, 16 Jul 2022 18:51:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiGPWvE (ORCPT ); Sat, 16 Jul 2022 18:51:04 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA62F1C92D; Sat, 16 Jul 2022 15:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658011862; x=1689547862; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eMZB5HTy1IP+QRRyebpuxHhRvBKz1HhDrHDYvMYNKVk=; b=S1qi46K7nLw8Bk6V9+AJ/Hm9Iyk16oyoQu1PY8lW9TCBhEOOCBRUE6oT /VIAkE257c6hX3ieexiPWF5+Qb6erqEJI2w+GpdczhPkT2+0FJQ122nBa A6wu347jy5oaq+18eLOCTh4d1BkNinVg0hcwBMjptJNuckjmDNPl+AEnA Msis2WOYyE/I2om1qlgyYagwr8oHgNU9uC1mpSlNid/4fxOmCdF8eky7T /FnQBBaLs8fjeDDo1kFM8zghQUhVNZA0/jUB39PJrXRdEP6mCi0+kyA7o uRnLyHlN+CDjnMkPh2M721YfvuPeQ8lgMcHvwb+dgyTr4NE4ymuCzoCqt A==; X-IronPort-AV: E=McAfee;i="6400,9594,10410"; a="311683649" X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="311683649" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2022 15:51:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="842889559" Received: from lkp-server02.sh.intel.com (HELO ff137eb26ff1) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 16 Jul 2022 15:50:57 -0700 Received: from kbuild by ff137eb26ff1 with local (Exim 4.95) (envelope-from ) id 1oCqcj-0002GK-AI; Sat, 16 Jul 2022 22:50:57 +0000 Date: Sun, 17 Jul 2022 06:50:02 +0800 From: kernel test robot To: Christian Marangi , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Russell King , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, netdev@vger.kernel.org, Christian Marangi Subject: Re: [net-next PATCH v2 3/5] net: ethernet: stmicro: stmmac: move dma conf to dedicated struct Message-ID: <202207170639.k8cXFREA-lkp@intel.com> References: <20220716184533.2962-4-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220716184533.2962-4-ansuelsmth@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christian, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Christian-Marangi/Add-MTU-change-with-stmmac-interface-running/20220717-025128 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 2acd1022549e210edc4cfc9fc65b07b88751f0d9 config: x86_64-randconfig-a003 (https://download.01.org/0day-ci/archive/20220717/202207170639.k8cXFREA-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 07022e6cf9b5b3baa642be53d0b3c3f1c403dbfd) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/acdac2fef543d7b7fc85c7a5627e5e833ee756d8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Christian-Marangi/Add-MTU-change-with-stmmac-interface-running/20220717-025128 git checkout acdac2fef543d7b7fc85c7a5627e5e833ee756d8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/ethernet/stmicro/stmmac/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:14: error: no member named 'tx_queue' in 'struct stmmac_priv' if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) ~~~~ ^ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1098:9: error: no member named 'tx_queue' in 'struct stmmac_priv' priv->tx_queue[qopt->queue].tbs |= STMMAC_TBS_EN; ~~~~ ^ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1100:9: error: no member named 'tx_queue' in 'struct stmmac_priv' priv->tx_queue[qopt->queue].tbs &= ~STMMAC_TBS_EN; ~~~~ ^ 3 errors generated. vim +1094 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c b60189e0392fa0 Jose Abreu 2019-12-18 1086 430b383c737ca0 Jose Abreu 2020-01-13 1087 static int tc_setup_etf(struct stmmac_priv *priv, 430b383c737ca0 Jose Abreu 2020-01-13 1088 struct tc_etf_qopt_offload *qopt) 430b383c737ca0 Jose Abreu 2020-01-13 1089 { 430b383c737ca0 Jose Abreu 2020-01-13 1090 if (!priv->dma_cap.tbssel) 430b383c737ca0 Jose Abreu 2020-01-13 1091 return -EOPNOTSUPP; 430b383c737ca0 Jose Abreu 2020-01-13 1092 if (qopt->queue >= priv->plat->tx_queues_to_use) 430b383c737ca0 Jose Abreu 2020-01-13 1093 return -EINVAL; 430b383c737ca0 Jose Abreu 2020-01-13 @1094 if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) 430b383c737ca0 Jose Abreu 2020-01-13 1095 return -EINVAL; 430b383c737ca0 Jose Abreu 2020-01-13 1096 430b383c737ca0 Jose Abreu 2020-01-13 1097 if (qopt->enable) 430b383c737ca0 Jose Abreu 2020-01-13 1098 priv->tx_queue[qopt->queue].tbs |= STMMAC_TBS_EN; 430b383c737ca0 Jose Abreu 2020-01-13 1099 else 430b383c737ca0 Jose Abreu 2020-01-13 1100 priv->tx_queue[qopt->queue].tbs &= ~STMMAC_TBS_EN; 430b383c737ca0 Jose Abreu 2020-01-13 1101 430b383c737ca0 Jose Abreu 2020-01-13 1102 netdev_info(priv->dev, "%s ETF for Queue %d\n", 430b383c737ca0 Jose Abreu 2020-01-13 1103 qopt->enable ? "enabled" : "disabled", qopt->queue); 430b383c737ca0 Jose Abreu 2020-01-13 1104 return 0; 430b383c737ca0 Jose Abreu 2020-01-13 1105 } 430b383c737ca0 Jose Abreu 2020-01-13 1106 -- 0-DAY CI Kernel Test Service https://01.org/lkp