From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) (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 9429320F7 for ; Mon, 27 Nov 2023 03:33:25 +0000 (UTC) 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="HlOGgG3P" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701056005; x=1732592005; h=date:from:to:cc:subject:message-id:mime-version; bh=mNAyd9A5s8C/r1uiHHXwJxMmnoAk1aqcMGwadi6ajNs=; b=HlOGgG3PB+UtlnBtqOFEboImh5fX+VIrHNLLx92AtMOsbCBhWtCzWv// ODQv0pHbaYfacxJV1J5ucu3lrHv8BFFPgC6TTp1GR2ZuZYbUohNXqLStZ HzRnaAYwMDd+DFNh7BjarYMH0UUYpPY4SHgPjokRV7z8AHSnD6LOcJKdB 9OdxTXoNbqFW4bWpFX+fHDzUa4kVNQnfDSPv/0UXUnxDHCn5blUbobw3E rSOIUz1R4fYIH77ukkw/NzFbC9z49ELy7BTlo1qEdke2/oP4POYK90Q/b jvsCXafN/g/SVTYq9Ocsgkcwo34O6xL4tPZ3mCOaPGdN0U0lt0ZIMJVT/ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10906"; a="377662647" X-IronPort-AV: E=Sophos;i="6.04,229,1695711600"; d="scan'208";a="377662647" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2023 19:33:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10906"; a="768036731" X-IronPort-AV: E=Sophos;i="6.04,229,1695711600"; d="scan'208";a="768036731" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 26 Nov 2023 19:33:24 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r7SN7-0005nq-1Z; Mon, 27 Nov 2023 03:33:21 +0000 Date: Mon, 27 Nov 2023 11:33:15 +0800 From: kernel test robot To: Niklas =?iso-8859-1?Q?S=F6derlund?= Cc: oe-kbuild-all@lists.linux.dev Subject: [ragnatech:next/net/tsn 4/5] drivers/net/ethernet/renesas/rtsn.c:270:9: error: implicit declaration of function '__iowmb' Message-ID: <202311271132.APTExKBp-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/niklas/linux.git next/net/tsn head: 9929703c4bd6c8c37ff9c65353ea241101007b52 commit: 2aec3957074d82d65a9df406a07631e6a81e7a98 [4/5] net: ethernet: rtsn: Add support for Renesas Ethernet-TSN config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231127/202311271132.APTExKBp-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231127/202311271132.APTExKBp-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/202311271132.APTExKBp-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/ethernet/renesas/rtsn.c: In function 'rtsn_poll': >> drivers/net/ethernet/renesas/rtsn.c:270:9: error: implicit declaration of function '__iowmb' [-Werror=implicit-function-declaration] 270 | __iowmb(); | ^~~~~~~ cc1: some warnings being treated as errors vim +/__iowmb +270 drivers/net/ethernet/renesas/rtsn.c 244 245 static int rtsn_poll(struct napi_struct *napi, int budget) 246 { 247 struct rtsn_private *priv; 248 struct net_device *ndev; 249 unsigned long flags; 250 int quota = budget; 251 252 ndev = napi->dev; 253 priv = netdev_priv(ndev); 254 255 /* Processing RX Descriptor Ring */ 256 if (rtsn_rx(ndev, "a)) 257 goto out; 258 259 /* Processing TX Descriptor Ring */ 260 spin_lock_irqsave(&priv->lock, flags); 261 rtsn_tx_free(ndev, true); 262 netif_wake_subqueue(ndev, 0); 263 spin_unlock_irqrestore(&priv->lock, flags); 264 265 napi_complete(napi); 266 267 /* Re-enable TX/RX interrupts */ 268 spin_lock_irqsave(&priv->lock, flags); 269 rtsn_ctrl_data_irq(priv, true); > 270 __iowmb(); 271 spin_unlock_irqrestore(&priv->lock, flags); 272 out: 273 return budget - quota; 274 } 275 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki