From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 ED79537C90D for ; Wed, 4 Mar 2026 20:19:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772655575; cv=none; b=mnvQ1GHCVam+j3GgQSJtjlbgESdDTn57Z+kfPVCZ02jDo/2k5DdBBpRhgCtP2saP0alyNHrLMx1z6+OXP/T+F+UUPHknf1Hlo0Ab1Bf/suioD6SOlgbsTz0x24bF7jPTUjkx8NqDqnBli0LLA6vto1VSvCsKQ/zb6rT80qrzg3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772655575; c=relaxed/simple; bh=iikIQE7d5BrMbz5QoKczt9e+EFI540Qu1haop92OMoM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gN+pItCxEnffCAaVdfYTYDNVwr+c0K4NvJibgHsMD+oxZioL+1yF8g9HjbqG5FbKMzwF3HZAjdY8yGxv6CHcHHGn5Y31Fh6CJpKfozrDHfcMF5iM/t/7kPUWFA8cAkjLYlxcfMsfDT6I/Nczku31Vppu7cfa/cjpmtHJV9HkTgU= 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=ORzk4Lnx; arc=none smtp.client-ip=198.175.65.13 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="ORzk4Lnx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772655573; x=1804191573; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iikIQE7d5BrMbz5QoKczt9e+EFI540Qu1haop92OMoM=; b=ORzk4Lnxxu/1lhQfzlriJETq1dIEcJ0SJRbx0davkU/8XLIobXT+iBZG z0uyvVIRy9P6CKJgs7D6fefIfHZQp5RXwo/6KyVsyxg1wGYvsk7KXfK2E oOQo+HD/fIJ42Fno03WRhFbrCAyWix9xTPH1m/6rbQPSdAhPtP0ziZg5a c65IpyTZgn6Ie2hVunVmvj0doUVnwS0s3VGbp+XW46/AM+fi75bO2jKR0 NxNeWb/maS6yGKf9/dMn93SYu4xojAqueNCYv6tOBEaLKZEq1nhjcKTpL x4bdFOlkFgq0eVMy31g8l2DfwczJ5lXEeXVnOcdAIoJZxm4TQWJ7qFg3z w==; X-CSE-ConnectionGUID: pMrGRYn0Tr68gELt7IYHyA== X-CSE-MsgGUID: ZUiVK9c5Qguv5Z//G5JlWg== X-IronPort-AV: E=McAfee;i="6800,10657,11719"; a="84815866" X-IronPort-AV: E=Sophos;i="6.21,324,1763452800"; d="scan'208";a="84815866" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2026 12:19:32 -0800 X-CSE-ConnectionGUID: Ya7/Uf4pRGabToPTi0eQCw== X-CSE-MsgGUID: 8GePQ8mUR2+NTCVoDJpoKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,324,1763452800"; d="scan'208";a="256331372" Received: from lkp-server01.sh.intel.com (HELO f27a57aa7a36) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 04 Mar 2026 12:19:29 -0800 Received: from kbuild by f27a57aa7a36 with local (Exim 4.98.2) (envelope-from ) id 1vxsgn-000000004S5-2C0D; Wed, 04 Mar 2026 20:19:25 +0000 Date: Thu, 5 Mar 2026 04:18:57 +0800 From: kernel test robot To: "Russell King (Oracle)" , Andrew Lunn Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Alexandre Torgue , Chen-Yu Tsai , Eric Dumazet , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, Paolo Abeni , Samuel Holland Subject: Re: [PATCH net-next 8/8] net: stmmac: make pcs_mask and phy_mask u32 Message-ID: <202603050424.TDlVj9FT-lkp@intel.com> References: 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: Hi Russell, 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/Russell-King-Oracle/net-stmmac-mdio-use-same-test-for-MDC-clock-divisor-lookups/20260304-183416 base: net-next/main patch link: https://lore.kernel.org/r/E1vxjNj-0000000Br1c-2Fg7%40rmk-PC.armlinux.org.uk patch subject: [PATCH net-next 8/8] net: stmmac: make pcs_mask and phy_mask u32 config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260305/202603050424.TDlVj9FT-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603050424.TDlVj9FT-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/202603050424.TDlVj9FT-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c:171:35: error: call to undeclared function 'BIT_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | plat->mdio_bus_data->phy_mask = ~BIT_u32(2); | ^ 1 error generated. vim +/BIT_u32 +171 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c 164 165 static int loongson_gnet_data(struct pci_dev *pdev, 166 struct plat_stmmacenet_data *plat) 167 { 168 loongson_default_data(pdev, plat); 169 170 plat->phy_interface = PHY_INTERFACE_MODE_GMII; > 171 plat->mdio_bus_data->phy_mask = ~BIT_u32(2); 172 plat->fix_mac_speed = loongson_gnet_fix_speed; 173 174 return 0; 175 } 176 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki