Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE7D07A for ; Mon, 14 Mar 2022 16:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647276247; x=1678812247; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xMR2siyabd4TCf1hepbxmt8sSzOlcSZlRl6asTaBpWM=; b=JTfaqib7LYI7KTSN2U3nk/PWdqiQ7lAC1HKobrVZhOlwxJjTUjh1sD5Y qEMkZsGBQacYKn+91IjDYNttYCQ1yM528flFLNRMau18PBpa3Srs9LDXe G4yu2PgGrMpH/BgBwVoc1jt7Gf2NT2At+VImMke0tmq+NJ0cJzCZD+XrF iRRHUYdepuTknQHMjw2DRj+tOpcJsLCP8ts1Ar25PMmPWh9f4Q5j/0TxR QJDEZF6d14w6Sfu1Nri2U647VOYGXmGkeewPtnCPD5RlXYNsiVROQm+Eb g1e2xTvqtAIJe2O3Q5xWK11B6Yhp5AHt87iZKf/rjjcIV42ty58+qWBol g==; X-IronPort-AV: E=McAfee;i="6200,9189,10285"; a="342508374" X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="342508374" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 09:44:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="612955175" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 14 Mar 2022 09:44:01 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nTnnd-000A1r-66; Mon, 14 Mar 2022 16:44:01 +0000 Date: Tue, 15 Mar 2022 00:43:16 +0800 From: kernel test robot To: Tobias Waldekranz , davem@davemloft.net, kuba@kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Russell King , Ido Schimmel , Petr Machata , Cooper Lees , Matt Johnston , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org Subject: Re: [PATCH v3 net-next 01/14] net: bridge: mst: Multiple Spanning Tree (MST) mode Message-ID: <202203150034.m0Fvevlq-lkp@intel.com> References: <20220314095231.3486931-2-tobias@waldekranz.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220314095231.3486931-2-tobias@waldekranz.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi Tobias, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Tobias-Waldekranz/net-bridge-Multiple-Spanning-Trees/20220314-175717 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git de29aff976d3216e7f3ab41fcd7af46fa8f7eab7 config: hexagon-randconfig-r041-20220314 (https://download.01.org/0day-ci/archive/20220315/202203150034.m0Fvevlq-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 3e4950d7fa78ac83f33bbf1658e2f49a73719236) 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/0day-ci/linux/commit/702c502efb27c12860bc55fc8d9b1bfd99466623 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tobias-Waldekranz/net-bridge-Multiple-Spanning-Trees/20220314-175717 git checkout 702c502efb27c12860bc55fc8d9b1bfd99466623 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash net/bridge/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> net/bridge/br.c:269:9: error: implicit declaration of function 'br_mst_set_enabled' [-Werror,-Wimplicit-function-declaration] err = br_mst_set_enabled(br, on, extack); ^ net/bridge/br.c:269:9: note: did you mean 'br_stp_set_enabled'? net/bridge/br_private.h:1828:5: note: 'br_stp_set_enabled' declared here int br_stp_set_enabled(struct net_bridge *br, unsigned long val, ^ 1 error generated. vim +/br_mst_set_enabled +269 net/bridge/br.c 245 246 /* br_boolopt_toggle - change user-controlled boolean option 247 * 248 * @br: bridge device 249 * @opt: id of the option to change 250 * @on: new option value 251 * @extack: extack for error messages 252 * 253 * Changes the value of the respective boolean option to @on taking care of 254 * any internal option value mapping and configuration. 255 */ 256 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, 257 struct netlink_ext_ack *extack) 258 { 259 int err = 0; 260 261 switch (opt) { 262 case BR_BOOLOPT_NO_LL_LEARN: 263 br_opt_toggle(br, BROPT_NO_LL_LEARN, on); 264 break; 265 case BR_BOOLOPT_MCAST_VLAN_SNOOPING: 266 err = br_multicast_toggle_vlan_snooping(br, on, extack); 267 break; 268 case BR_BOOLOPT_MST_ENABLE: > 269 err = br_mst_set_enabled(br, on, extack); 270 break; 271 default: 272 /* shouldn't be called with unsupported options */ 273 WARN_ON(1); 274 break; 275 } 276 277 return err; 278 } 279 --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org