From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 3088D2BE639; Fri, 5 Dec 2025 06:41:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764916898; cv=none; b=OGeXBc6mPdGRnvFp4kHFJVmGOaUzPCsdNKkw3ooHGIrb7UBl4BfYhARlCP7rRSL+hk06uoM/QlAlbQyBNxeCcr0O+figoHZs12MS6uQSs/Ep4ZQd+y9GKcSDwjGiOk89xNXRALnu9Jg4ofAFEGmBQZOWLNpvxWVwIQM2mTuGB20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764916898; c=relaxed/simple; bh=vCoiyUxHknsdU+eYFVhpaE/wez0uZFeZPaGXRKxBAFc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iexfUPqM11ymY/TawBxuKeolL1c0kGktZzm8w+HaRPB1Eo2WbAAO/mfiHkOeKemSsD327VtCmWESPzLV/vVlBSulFBsSY6DG2JtD99sLVtjMfxgKjo77EV478yh8Bt1EPFd0VEIFFbGIyH2TxV57uyCdFTjvuQctlkDGiPepf/o= 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=Z3N6fD8D; arc=none smtp.client-ip=192.198.163.10 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="Z3N6fD8D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764916896; x=1796452896; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vCoiyUxHknsdU+eYFVhpaE/wez0uZFeZPaGXRKxBAFc=; b=Z3N6fD8DEpBDo8PpMD8Z9DTnLqaNJMTrZXCu/dfr2zo3Xy0ALh20xEBK AFWDW8m5BxV+iBurVNv3UPViR9bITfBCBjnlukM+WmmuqBchHaYOblzIL V4Vj0MkdK5WhMi6qe2lVtgkGaGDTkK3nJiOPgmYNXT3h0fpAnuS5dZA5P yP8L8+VwHStdf5F7qChePcuh0KwK5WbLVrvHRqorXGOeb01NZRwu0L8Se hvTLKUbWydD6tF14hsavKI7oswxI9N+WBPVcKXrZff9KQ84cNm+GeEJru F/Rm0HPi8jEx+FOzQ293ZGVk2fdcgj1DWt76XY0/AN8bgkOSDf/mivpSf A==; X-CSE-ConnectionGUID: TPJsJI29Rq+29kpKfcFruw== X-CSE-MsgGUID: HK792TJfRf2fKcTTfJW70A== X-IronPort-AV: E=McAfee;i="6800,10657,11632"; a="78301754" X-IronPort-AV: E=Sophos;i="6.20,251,1758610800"; d="scan'208";a="78301754" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2025 22:41:35 -0800 X-CSE-ConnectionGUID: tFfphGEvTfW+D6OHEriHLg== X-CSE-MsgGUID: QDhFh3VMRWi0FNNkcDaheA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,251,1758610800"; d="scan'208";a="199409856" Received: from lkp-server01.sh.intel.com (HELO 4664bbef4914) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 04 Dec 2025 22:41:31 -0800 Received: from kbuild by 4664bbef4914 with local (Exim 4.98.2) (envelope-from ) id 1vRPVQ-00000000Egv-0eth; Fri, 05 Dec 2025 06:41:28 +0000 Date: Fri, 5 Dec 2025 14:41:15 +0800 From: kernel test robot To: John Madieu , prabhakar.mahadev-lad.rj@bp.renesas.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, geert+renesas@glider.be Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, biju.das.jz@bp.renesas.com, claudiu.beznea@tuxon.dev, linux@armlinux.org.uk, magnus.damm@gmail.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, John Madieu Subject: Re: [PATCH net-next 1/3] net: stmmac: add physical port identification support Message-ID: <202512051431.9gYpDLdA-lkp@intel.com> References: <20251204163729.3036329-2-john.madieu.xa@bp.renesas.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: <20251204163729.3036329-2-john.madieu.xa@bp.renesas.com> Hi John, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on net/main linus/master v6.18 next-20251204] [cannot apply to net-next/main] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/John-Madieu/dt-bindings-net-renesas-gbeth-Add-port-id-property/20251205-013825 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20251204163729.3036329-2-john.madieu.xa%40bp.renesas.com patch subject: [PATCH net-next 1/3] net: stmmac: add physical port identification support config: hexagon-randconfig-001-20251205 (https://download.01.org/0day-ci/archive/20251205/202512051431.9gYpDLdA-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d8b43edf552840e59a22a7f3cc332697bd434782) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051431.9gYpDLdA-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/202512051431.9gYpDLdA-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c:11: >> include/linux/stmmac.h:273:12: warning: declaration of 'struct netdev_phys_item_id' will not be visible outside of this function [-Wvisibility] 273 | struct netdev_phys_item_id *ppid); | ^ 1 warning generated. vim +273 include/linux/stmmac.h 188 189 struct plat_stmmacenet_data { 190 int bus_id; 191 int phy_addr; 192 /* MAC ----- optional PCS ----- SerDes ----- optional PHY ----- Media 193 * ^ 194 * phy_interface 195 * 196 * The Synopsys dwmac core only covers the MAC and an optional 197 * integrated PCS. Where the integrated PCS is used with a SerDes, 198 * e.g. for 1000base-X or Cisco SGMII, the connection between the 199 * PCS and SerDes will be TBI. 200 * 201 * Where the Synopsys dwmac core has been instantiated with multiple 202 * interface modes, these are selected via core-external configuration 203 * which is sampled when the dwmac core is reset. How this is done is 204 * platform glue specific, but this defines the interface used from 205 * the Synopsys dwmac core to the rest of the SoC. 206 * 207 * Where PCS other than the optional integrated Synopsys dwmac PCS 208 * is used, this counts as "the rest of the SoC" in the above 209 * paragraph. 210 * 211 * phy_interface is the PHY-side interface - the interface used by 212 * an attached PHY or SFP etc. This is equivalent to the interface 213 * that phylink uses. 214 */ 215 phy_interface_t phy_interface; 216 struct stmmac_mdio_bus_data *mdio_bus_data; 217 struct device_node *phy_node; 218 struct fwnode_handle *port_node; 219 struct device_node *mdio_node; 220 struct stmmac_dma_cfg *dma_cfg; 221 struct stmmac_safety_feature_cfg *safety_feat_cfg; 222 int clk_csr; 223 int has_gmac; 224 int enh_desc; 225 int tx_coe; 226 int rx_coe; 227 int bugged_jumbo; 228 int pmt; 229 int force_sf_dma_mode; 230 int force_thresh_dma_mode; 231 int riwt_off; 232 int max_speed; 233 int maxmtu; 234 int multicast_filter_bins; 235 int unicast_filter_entries; 236 int tx_fifo_size; 237 int rx_fifo_size; 238 u32 host_dma_width; 239 u32 rx_queues_to_use; 240 u32 tx_queues_to_use; 241 u8 rx_sched_algorithm; 242 u8 tx_sched_algorithm; 243 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES]; 244 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; 245 void (*get_interfaces)(struct stmmac_priv *priv, void *bsp_priv, 246 unsigned long *interfaces); 247 int (*set_clk_tx_rate)(void *priv, struct clk *clk_tx_i, 248 phy_interface_t interface, int speed); 249 void (*fix_mac_speed)(void *priv, int speed, unsigned int mode); 250 int (*fix_soc_reset)(struct stmmac_priv *priv, void __iomem *ioaddr); 251 int (*serdes_powerup)(struct net_device *ndev, void *priv); 252 void (*serdes_powerdown)(struct net_device *ndev, void *priv); 253 int (*mac_finish)(struct net_device *ndev, 254 void *priv, 255 unsigned int mode, 256 phy_interface_t interface); 257 void (*ptp_clk_freq_config)(struct stmmac_priv *priv); 258 int (*init)(struct platform_device *pdev, void *priv); 259 void (*exit)(struct platform_device *pdev, void *priv); 260 int (*suspend)(struct device *dev, void *priv); 261 int (*resume)(struct device *dev, void *priv); 262 struct mac_device_info *(*setup)(void *priv); 263 int (*clks_config)(void *priv, bool enabled); 264 int (*crosststamp)(ktime_t *device, struct system_counterval_t *system, 265 void *ctx); 266 void (*dump_debug_regs)(void *priv); 267 int (*pcs_init)(struct stmmac_priv *priv); 268 void (*pcs_exit)(struct stmmac_priv *priv); 269 struct phylink_pcs *(*select_pcs)(struct stmmac_priv *priv, 270 phy_interface_t interface); 271 /* Physical port identification callbacks (optional, for glue driver override) */ 272 int (*get_phys_port_id)(struct net_device *ndev, > 273 struct netdev_phys_item_id *ppid); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki