Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1244422pxb; Fri, 21 Jan 2022 13:13:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZGymgW3XeEzcOL/cFul0iSX1zzr1Ggser6gHt2arPGeluTxHxhG5kNUkUF9Q41MIVP51W X-Received: by 2002:a17:90b:230f:: with SMTP id mt15mr2522646pjb.72.1642799585126; Fri, 21 Jan 2022 13:13:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799585; cv=none; d=google.com; s=arc-20160816; b=eMB14Ku58JrAth0Tsqqyjq+24/TeEgHc1f8bmHS9ETh14age94iaZfRlKZ/42F24Dm V5pA/gE2epDQayG0i2Axy38qDSC2HKeMRPgV45T+ApxKS9GTlM1DWlHYwl+UuMVRytnS Is4SUKgDZZRfA4cIuvCsx2PZl1q9PBSuc9OUzBi3LBgF6OqPi2o6nQXcnQJ/nOSHwJbF 6gZReGkNcs8l00nxoZpqf6r4irwGr/TqlrAh7lm3PiBzRy29J/hfy1XZ0+H2noAI5Cg7 amRDWOQEkckjN4sp1XSGkQvz7txDVP3xsJyOVtvsFW3RrQwp2IbexrHw+OzS1iCswdSd 6lsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=HjlUumlBSkHL8X6AOrv+UArf5yFUuQ6mmgqev1dQg+o=; b=CuG8/Q7D5AGpXM8oGUVVMJ6f1/lemR+WNB2NRJ3H2/kEvLNPd5p7hxg2bxEYoL1zaV 6U33/X3r4bKv3kVwbgLaYaveIqNvuzgLtmO5PPbbt6aoirQhORlxPINLaJBR8H+PMIQP C8EGvz+eGCTMHHZUxqpp0sCRVERXJr3mmnXqVmo133AmFLAIY+iW7nZqrnVH5hi0Vcf4 NoCgGfHnqaRWVMMsIWOxuIILJY4kx6Z2agxsq9oZc7W8gYaJquEAUiHJfAgomyx5xwas dae+g/8O8mEcPZm/AlbkaNLBOw/6jO5XCnBuZ8swW1cuJUqsxb/+YwBX+H0aH2QcnwHk iXYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 191si7882506pgc.492.2022.01.21.13.12.56; Fri, 21 Jan 2022 13:13:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358598AbiATJZQ convert rfc822-to-8bit (ORCPT + 70 others); Thu, 20 Jan 2022 04:25:16 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:57829 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241888AbiATJZM (ORCPT ); Thu, 20 Jan 2022 04:25:12 -0500 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 85D0320000F; Thu, 20 Jan 2022 09:25:07 +0000 (UTC) Date: Thu, 20 Jan 2022 10:25:06 +0100 From: Miquel Raynal To: kernel test robot Cc: Alexander Aring , Stefan Schmidt , linux-wpan@vger.kernel.org, llvm@lists.linux.dev, kbuild-all@lists.01.org, Jakub Kicinski , netdev@vger.kernel.org, linux-wireless@vger.kernel.org, Xue Liu , Marcel Holtmann , Harry Morris , David Girault Subject: Re: [wpan-next 5/9] net: ieee802154: ca8210: Stop leaking skb's Message-ID: <20220120102506.04d5ffb7@xps13> In-Reply-To: <202201201557.38baVRVX-lkp@intel.com> References: <20220120003645.308498-6-miquel.raynal@bootlin.com> <202201201557.38baVRVX-lkp@intel.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org lkp@intel.com wrote on Thu, 20 Jan 2022 15:31:39 +0800: > Hi Miquel, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.16 next-20220120] > [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] > > url: https://github.com/0day-ci/linux/commits/Miquel-Raynal/ieee802154-A-bunch-of-fixes/20220120-083906 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1d1df41c5a33359a00e919d54eaebfb789711fdc > config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220120/202201201557.38baVRVX-lkp@intel.com/config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f7b7138a62648f4019c55e4671682af1f851f295) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/77d3026b30aff560ef269d03aecc09f8c46a9173 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Miquel-Raynal/ieee802154-A-bunch-of-fixes/20220120-083906 > git checkout 77d3026b30aff560ef269d03aecc09f8c46a9173 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/ieee802154/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > >> drivers/net/ieee802154/ca8210.c:1775:22: error: use of undeclared identifier 'atusb' > dev_kfree_skb_any(atusb->tx_skb); > ^ > 1 error generated. > > > vim +/atusb +1775 drivers/net/ieee802154/ca8210.c > > 1737 > 1738 /** > 1739 * ca8210_async_xmit_complete() - Called to announce that an asynchronous > 1740 * transmission has finished > 1741 * @hw: ieee802154_hw of ca8210 that has finished exchange > 1742 * @msduhandle: Identifier of transmission that has completed > 1743 * @status: Returned 802.15.4 status code of the transmission > 1744 * > 1745 * Return: 0 or linux error code > 1746 */ > 1747 static int ca8210_async_xmit_complete( > 1748 struct ieee802154_hw *hw, > 1749 u8 msduhandle, > 1750 u8 status) > 1751 { > 1752 struct ca8210_priv *priv = hw->priv; > 1753 > 1754 if (priv->nextmsduhandle != msduhandle) { > 1755 dev_err( > 1756 &priv->spi->dev, > 1757 "Unexpected msdu_handle on data confirm, Expected %d, got %d\n", > 1758 priv->nextmsduhandle, > 1759 msduhandle > 1760 ); > 1761 return -EIO; > 1762 } > 1763 > 1764 priv->async_tx_pending = false; > 1765 priv->nextmsduhandle++; > 1766 > 1767 if (status) { > 1768 dev_err( > 1769 &priv->spi->dev, > 1770 "Link transmission unsuccessful, status = %d\n", > 1771 status > 1772 ); > 1773 if (status != MAC_TRANSACTION_OVERFLOW) { > 1774 ieee802154_wake_queue(priv->hw); > > 1775 dev_kfree_skb_any(atusb->tx_skb); Looks like I messed with the configuration and this driver was not compile-tested anymore. I'll fix this. > 1776 return 0; > 1777 } > 1778 } > 1779 ieee802154_xmit_complete(priv->hw, priv->tx_skb, true); > 1780 > 1781 return 0; > 1782 } > 1783 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Thanks, Miquèl