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 98A303CBE70; Fri, 15 May 2026 03:11:58 +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=1778814721; cv=none; b=orM+jx0FPj3I82FnAL8GXt8VFaBYOPnNbQq5rMPeQz8xvUEZ+cF2ls0ezbV9T55Kqdj8Q3Q0slH9+LlaK3b3DdF95c4rPxwcgypePKF6tGA5Dq5dY47CPYsQpcYzYqI10zsQY1md11WN9GF8sv1BEyxQEF5l6jAK1puLv+BQa5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778814721; c=relaxed/simple; bh=ZAmE1TlWVSf8earAcSnNud/qyU3STr7upmmNnk1CFZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HuYkLgn1yDGydritV/rjkI1O4I3PgkrOhaJ99pbHwfkkXDktUZ/7u0xKWW0qfB+qVr37j1dc66gC06Lz+41WXq1sX8CrkkhoUt65yTI2zPxtnRWDeeG/HrsL2EnaaMo7/xuiEnuvVNW9id0+dMn3F0WBIW1AbqtUepdvNslGIfA= 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=ji6+mBKg; 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="ji6+mBKg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778814718; x=1810350718; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZAmE1TlWVSf8earAcSnNud/qyU3STr7upmmNnk1CFZs=; b=ji6+mBKgqCe7UrdYG/DupSN14bk/CEbCNqls9O858EEvvqmpmXb4GaDb T9OzB4vQ/OqZRkMxCPHlEfZON4GZuUXUGkAPEs0b5775SbixvkVJCo8pc hbPMhsWpC5q9zdTh97+HAvFASRwT8VrIu42NF2K4OdvzF177pjwpLG6Tv sxrxPcIBdNj792hWiyMXiQkbTIL5KISb5Ze6UyHU/YtgVNZZMo5LimVT7 0Kgy7IDs88x+DXn4S/5+bil50xfeGFAtBVBn0jtI+caeaR0nq6bDrUEgE C/KoKtc/cPweXaychCDGBN3CoAgnyKWevSpijSlShmrhphhg2OQaQAo03 w==; X-CSE-ConnectionGUID: nTt3Ma5iQ5KXoQ5Z8lr0RQ== X-CSE-MsgGUID: sbTJzL9vRZSzVl/W9rkq7A== X-IronPort-AV: E=McAfee;i="6800,10657,11786"; a="91150213" X-IronPort-AV: E=Sophos;i="6.23,235,1770624000"; d="scan'208";a="91150213" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2026 20:11:58 -0700 X-CSE-ConnectionGUID: cG7x5w9FRku+pLtuvvhHmA== X-CSE-MsgGUID: jfwwuftCS1aH47xxQssZLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,235,1770624000"; d="scan'208";a="238446336" Received: from lkp-server02.sh.intel.com (HELO 7a33ad3e7d27) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 14 May 2026 20:11:56 -0700 Received: from kbuild by 7a33ad3e7d27 with local (Exim 4.98.2) (envelope-from ) id 1wNiwq-000000000hR-2aAG; Fri, 15 May 2026 03:11:04 +0000 Date: Fri, 15 May 2026 11:05:07 +0800 From: kernel test robot To: Holger Brunck , netdev@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, andrew+netdev@lunn.ch, chleroy@kernel.org, qiang.zhao@nxp.com, horms@kernel.org, Holger Brunck Subject: Re: [PATCH net] net: wan: fsl_ucc_hdlc: free tx_skbuff in uhdlc_memclean Message-ID: <202605151029.MIApM8zq-lkp@intel.com> References: <20260504161145.2217950-1-holger.brunck@hitachienergy.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 In-Reply-To: <20260504161145.2217950-1-holger.brunck@hitachienergy.com> Hi Holger, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] [also build test ERROR on v7.1-rc3 next-20260508] [cannot apply to net/main linus/master] [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/Holger-Brunck/net-wan-fsl_ucc_hdlc-free-tx_skbuff-in-uhdlc_memclean/20260514-055007 base: net-next/main patch link: https://lore.kernel.org/r/20260504161145.2217950-1-holger.brunck%40hitachienergy.com patch subject: [PATCH net] net: wan: fsl_ucc_hdlc: free tx_skbuff in uhdlc_memclean config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260515/202605151029.MIApM8zq-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605151029.MIApM8zq-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/202605151029.MIApM8zq-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> drivers/net/wan/fsl_ucc_hdlc.c:775:32: error: expected ';' in 'for' statement specifier 775 | for (i = 0; i < TX_BD_RING_LEN) { | ^ >> drivers/net/wan/fsl_ucc_hdlc.c:775:14: warning: variable 'i' used in loop condition not modified in loop body [-Wfor-loop-analysis] 775 | for (i = 0; i < TX_BD_RING_LEN) { | ^ 1 warning and 1 error generated. vim +775 drivers/net/wan/fsl_ucc_hdlc.c 740 741 static void uhdlc_memclean(struct ucc_hdlc_private *priv) 742 { 743 int i; 744 745 qe_muram_free(ioread16be(&priv->ucc_pram->riptr)); 746 qe_muram_free(ioread16be(&priv->ucc_pram->tiptr)); 747 748 if (priv->rx_bd_base) { 749 dma_free_coherent(priv->dev, 750 RX_BD_RING_LEN * sizeof(struct qe_bd), 751 priv->rx_bd_base, priv->dma_rx_bd); 752 753 priv->rx_bd_base = NULL; 754 priv->dma_rx_bd = 0; 755 } 756 757 if (priv->tx_bd_base) { 758 dma_free_coherent(priv->dev, 759 TX_BD_RING_LEN * sizeof(struct qe_bd), 760 priv->tx_bd_base, priv->dma_tx_bd); 761 762 priv->tx_bd_base = NULL; 763 priv->dma_tx_bd = 0; 764 } 765 766 if (priv->ucc_pram) { 767 qe_muram_free(priv->ucc_pram_offset); 768 priv->ucc_pram = NULL; 769 priv->ucc_pram_offset = 0; 770 } 771 772 kfree(priv->rx_skbuff); 773 priv->rx_skbuff = NULL; 774 > 775 for (i = 0; i < TX_BD_RING_LEN) { 776 kfree(priv->tx_skbuff[i]); 777 priv->tx_skbuff[i] = NULL; 778 } 779 780 kfree(priv->tx_skbuff); 781 priv->tx_skbuff = NULL; 782 783 if (priv->uccf) { 784 ucc_fast_free(priv->uccf); 785 priv->uccf = NULL; 786 } 787 788 if (priv->rx_buffer) { 789 dma_free_coherent(priv->dev, 790 (RX_BD_RING_LEN + TX_BD_RING_LEN) * MAX_RX_BUF_LENGTH, 791 priv->rx_buffer, priv->dma_rx_addr); 792 priv->rx_buffer = NULL; 793 priv->dma_rx_addr = 0; 794 795 priv->tx_buffer = NULL; 796 priv->dma_tx_addr = 0; 797 798 } 799 } 800 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki