From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 6B49A3112B4; Fri, 30 Jan 2026 07:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769758907; cv=none; b=uX5YF1Rmo/7/5Dc3tOnT8Hk4FaNYmLRFJlR9z7/e8esD8kg1xeKLZ52B10RRd5n64wPA3RIq8iJSMkCuMAAB0zNTIFbBpPiYhwRdjZzHoP5XFmaXAKuLVmLfrkDlTnkJdw0a3tnUVraep7dE5gUoGk86CM0oT9uQuuoEbcThIco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769758907; c=relaxed/simple; bh=CoghMDarm31ncDtGmy3+/C7MA74iQBTvl/1xN6lsCNo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Zar/imJFngKnKbIwxdT/hSFDAGfojDPiE5dRTWJTO1wwy2EqiuFAYCEOhlohGLUN+E+rQR9J90J4Q762267oTWqAmYDfoKvjpsKlozrpvdVQSqz9bEmFngfYURyQ3lDXVhsjpcAa/SIzK41/EEvx2pyQqEmNJEVyV7lBVVAu090= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=GCu6JACI; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GCu6JACI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769758906; x=1801294906; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CoghMDarm31ncDtGmy3+/C7MA74iQBTvl/1xN6lsCNo=; b=GCu6JACIDw5tnKmCGDJ74otv1Cl67zvzw+oBjhcW7EAc2FGsi4JBtl+P 6+GoCXm9vAEs+4SnmxfrOdTgxuIhqGcnvShtTb28QQA6LJ9qSUeVlzK5p OMuJT/wLocmC5+L5OUIds2M5Oxm0mw2wcTdTlvat6iRvByl5oPkTMeLHB biP+3ANeMhBTt6ypiI5sIWvErSVI2v3I60qW/lDzui1mcPY7ZnLa/VhEx AXdZmfqiOMWBy9MAVhC1XTlw0jQ6p/Dse1ryVh5XMXXvm3QZopAJUUTtD QZW9cEcVjlX5XNL99LDH3wWl3xB4Q7obSLSD1jwfvXWkoP0AtQOoU4BS8 g==; X-CSE-ConnectionGUID: zj8Gb5VUSCuup34Z6gTPzg== X-CSE-MsgGUID: PoIL6DisST+VB9sq/Xzdvg== X-IronPort-AV: E=McAfee;i="6800,10657,11686"; a="81323431" X-IronPort-AV: E=Sophos;i="6.21,262,1763452800"; d="scan'208";a="81323431" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2026 23:41:46 -0800 X-CSE-ConnectionGUID: zehV8ryPT6KSXxgQ0osYOw== X-CSE-MsgGUID: PcQASZoQTUeETTFDMtO1nA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,262,1763452800"; d="scan'208";a="209046123" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 29 Jan 2026 23:41:39 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vlj8L-00000000cKm-1W0m; Fri, 30 Jan 2026 07:41:37 +0000 Date: Fri, 30 Jan 2026 15:40:41 +0800 From: kernel test robot To: Daniel Golle , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , Simon Horman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Frank Wunderlich , Chad Monroe , Cezary Wilmanski , Avinash Jayaraman , Bing tao Xu , Liang Xu , Juraj Povazanec , "Fanni (Fang-Yi) Chan" , "Benny (Ying-Tsan) Weng" , "Livia M. Rosu" , John Crispin Subject: Re: [PATCH net-next v10 4/4] net: dsa: add basic initial driver for MxL862xx switches Message-ID: <202601301540.5yveQiWq-lkp@intel.com> References: <281fd7e777b51849fac9ef5191679586cc2a1b54.1769731630.git.daniel@makrotopia.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <281fd7e777b51849fac9ef5191679586cc2a1b54.1769731630.git.daniel@makrotopia.org> Hi Daniel, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Golle/dt-bindings-net-dsa-add-MaxLinear-MxL862xx/20260130-085313 base: net-next/main patch link: https://lore.kernel.org/r/281fd7e777b51849fac9ef5191679586cc2a1b54.1769731630.git.daniel%40makrotopia.org patch subject: [PATCH net-next v10 4/4] net: dsa: add basic initial driver for MxL862xx switches config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260130/202601301540.5yveQiWq-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260130/202601301540.5yveQiWq-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/202601301540.5yveQiWq-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/dsa/mxl862xx/mxl862xx.c: In function 'mxl862xx_port_setup': drivers/net/dsa/mxl862xx/mxl862xx.c:331:32: error: passing argument 1 of 'dsa_port_is_unused' from incompatible pointer type [-Werror=incompatible-pointer-types] 331 | if (dsa_port_is_unused(ds, port) || | ^~ | | | struct dsa_switch * In file included from drivers/net/dsa/mxl862xx/mxl862xx.c:16: include/net/dsa.h:546:56: note: expected 'struct dsa_port *' but argument is of type 'struct dsa_switch *' 546 | static inline bool dsa_port_is_unused(struct dsa_port *dp) | ~~~~~~~~~~~~~~~~~^~ >> drivers/net/dsa/mxl862xx/mxl862xx.c:331:13: error: too many arguments to function 'dsa_port_is_unused' 331 | if (dsa_port_is_unused(ds, port) || | ^~~~~~~~~~~~~~~~~~ In file included from drivers/net/dsa/mxl862xx/mxl862xx.c:16: include/net/dsa.h:546:20: note: declared here 546 | static inline bool dsa_port_is_unused(struct dsa_port *dp) | ^~~~~~~~~~~~~~~~~~ drivers/net/dsa/mxl862xx/mxl862xx.c:332:29: error: passing argument 1 of 'dsa_port_is_dsa' from incompatible pointer type [-Werror=incompatible-pointer-types] 332 | dsa_port_is_dsa(ds, port)) | ^~ | | | struct dsa_switch * In file included from drivers/net/dsa/mxl862xx/mxl862xx.c:16: include/net/dsa.h:531:53: note: expected 'struct dsa_port *' but argument is of type 'struct dsa_switch *' 531 | static inline bool dsa_port_is_dsa(struct dsa_port *port) | ~~~~~~~~~~~~~~~~~^~~~ >> drivers/net/dsa/mxl862xx/mxl862xx.c:332:13: error: too many arguments to function 'dsa_port_is_dsa' 332 | dsa_port_is_dsa(ds, port)) | ^~~~~~~~~~~~~~~ In file included from drivers/net/dsa/mxl862xx/mxl862xx.c:16: include/net/dsa.h:531:20: note: declared here 531 | static inline bool dsa_port_is_dsa(struct dsa_port *port) | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/dsa_port_is_unused +331 drivers/net/dsa/mxl862xx/mxl862xx.c 317 318 static int mxl862xx_port_setup(struct dsa_switch *ds, int port) 319 { 320 bool is_cpu_port = dsa_is_cpu_port(ds, port); 321 int ret; 322 323 /* disable port and flush MAC entries */ 324 ret = mxl862xx_port_state(ds, port, false); 325 if (ret) 326 return ret; 327 328 mxl862xx_port_fast_age(ds, port); 329 330 /* skip setup for unused and DSA ports */ > 331 if (dsa_port_is_unused(ds, port) || > 332 dsa_port_is_dsa(ds, port)) 333 return 0; 334 335 /* configure tag protocol */ 336 ret = mxl862xx_configure_sp_tag_proto(ds, port, is_cpu_port); 337 if (ret) 338 return ret; 339 340 /* assign CTP port IDs */ 341 ret = mxl862xx_configure_ctp_port(ds, port, port, 342 is_cpu_port ? 32 - port : 1); 343 if (ret) 344 return ret; 345 346 if (is_cpu_port) 347 /* assign user ports to CPU port bridge */ 348 return mxl862xx_setup_cpu_bridge(ds, port); 349 350 /* setup single-port bridge for user ports */ 351 return mxl862xx_add_single_port_bridge(ds, port); 352 } 353 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki