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 B8154C43334 for ; Sat, 16 Jul 2022 22:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e0pGP2y8icXx17Qwq8TpQktW+aHqQo39lPlQRoaZduE=; b=sl/bH1iW+q33bT pwrMFnxBKPfh1xUA3qYuerWuqxpl+ttAJDLTA6Y8RjgdCfXsuPHSa6LzUoGetzkr6nRWPsCQay8r2 PQYYPI4M9Ep0Y2Yh8J+UUOLrsT48DB+B5QbJ7crgR5kOBMdafp2hdAxntg2ZK0thl0HJojsf2G//s ADwbn+P5OnBRzN7tzrr/FLHQ77wROgvJ4GYIOGBUru8gTDoLgoxUXxXu8drxyH44iZmlWiF0iru8V r5Af1SQRU9fRqQcFebv25LsK556GnNEDQmyECBQmecucMH2odyc1rB0+y+ktO9w0ruu5CPDrzj7M9 daS86wTXn8xgadGfC5aQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oCqSI-0013CM-3v; Sat, 16 Jul 2022 22:40:10 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oCqSD-00138u-Uf for linux-arm-kernel@lists.infradead.org; Sat, 16 Jul 2022 22:40:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658011205; x=1689547205; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=T+U4/9gl2O2+RuxdizGkJmWvRwLv3yFNdA8/DkiNESE=; b=bQqQHhX/UYeqdb+kvNGBarVyXobTW6/Mq4nnulKrpwaec3G2hM7qwxgH cQh7ozY0ldW8dOKgvALDjYFjaBv/b/RflrCBMCqV++UEj0N4+WYjWP1pc WfI4/GU1IRjlwjB3mgap1H3SSV/6X6dSxBk8Upn/2oivohgih6pT8hOeT ZGp74On6If3YjU+FvyOn2tQXtY7RjzeoH8g87E/PNTUPjziXsQcoLXMDP NF2Z1txYnpDx2hvJgUydGoHm90T4K2fT1alohjt3xMN/3XMC9HAgImWzE nlJFMsIHtdzJzMJNyZWhGyn6PIRsnz9KBJ6QqVv/iGheLeqJt1Voyx4SA Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10410"; a="283575387" X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="283575387" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2022 15:40:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="596848246" Received: from lkp-server02.sh.intel.com (HELO ff137eb26ff1) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2022 15:39:57 -0700 Received: from kbuild by ff137eb26ff1 with local (Exim 4.95) (envelope-from ) id 1oCqS4-0002Fr-UK; Sat, 16 Jul 2022 22:39:56 +0000 Date: Sun, 17 Jul 2022 06:39:40 +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: 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: <202207170636.Ism1wGe8-lkp@intel.com> References: <20220716184533.2962-4-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220716184533.2962-4-ansuelsmth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220716_154006_039987_CBCB9DB5 X-CRM114-Status: GOOD ( 13.20 ) 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 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: arc-randconfig-r043-20220717 (https://download.01.org/0day-ci/archive/20220717/202207170636.Ism1wGe8-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 12.1.0 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=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/build_bug.h:5, from include/linux/container_of.h:5, from include/linux/list.h:5, from include/linux/timer.h:5, from include/linux/workqueue.h:9, from include/net/pkt_cls.h:6, from drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:7: drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c: In function 'tc_setup_etf': >> drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:19: error: 'struct stmmac_priv' has no member named 'tx_queue' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var' 58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) | ^~~~ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:9: note: in expansion of macro 'if' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ >> drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:19: error: 'struct stmmac_priv' has no member named 'tx_queue' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var' 58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) | ^~~~ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:9: note: in expansion of macro 'if' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ >> drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:19: error: 'struct stmmac_priv' has no member named 'tx_queue' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ include/linux/compiler.h:69:10: note: in definition of macro '__trace_if_value' 69 | (cond) ? \ | ^~~~ include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var' 56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) | ^~~~~~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1094:9: note: in expansion of macro 'if' 1094 | if (!(priv->tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) | ^~ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1098:21: error: 'struct stmmac_priv' has no member named 'tx_queue' 1098 | priv->tx_queue[qopt->queue].tbs |= STMMAC_TBS_EN; | ^~ drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:1100:21: error: 'struct stmmac_priv' has no member named 'tx_queue' 1100 | priv->tx_queue[qopt->queue].tbs &= ~STMMAC_TBS_EN; | ^~ 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel