All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1583/2340] drivers/net/ieee802154/ca8210.c:1782:4: error: implicit declaration of function 'dev_kfree_skb_any'
Date: Thu, 24 Feb 2022 01:02:37 +0800	[thread overview]
Message-ID: <202202240010.CSrNf18k-lkp@intel.com> (raw)

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   97c5eeb4de3ad324ed2a4656b46465299cfd010a
commit: ea46cc7b8232972f12361f456922beddc7ab3d14 [1583/2340] headers/deps: networking/headers: Remove the <linux/netdevice_api.h> inclusion from <linux/netdevice.h>
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220224/202202240010.CSrNf18k-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=ea46cc7b8232972f12361f456922beddc7ab3d14
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout ea46cc7b8232972f12361f456922beddc7ab3d14
        # 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/dsa/ drivers/net/ieee802154/ net/dsa/ net/smc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the mingo-tip/sched/headers HEAD 97c5eeb4de3ad324ed2a4656b46465299cfd010a builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/net/ieee802154/ca8210.c:1782:4: error: implicit declaration of function 'dev_kfree_skb_any' [-Werror,-Wimplicit-function-declaration]
                           dev_kfree_skb_any(priv->tx_skb);
                           ^
   1 error generated.


vim +/dev_kfree_skb_any +1782 drivers/net/ieee802154/ca8210.c

ded845a781a578 Harry Morris  2017-03-28  1745  
ded845a781a578 Harry Morris  2017-03-28  1746  /**
ded845a781a578 Harry Morris  2017-03-28  1747   * ca8210_async_xmit_complete() - Called to announce that an asynchronous
ded845a781a578 Harry Morris  2017-03-28  1748   *                                transmission has finished
ded845a781a578 Harry Morris  2017-03-28  1749   * @hw:          ieee802154_hw of ca8210 that has finished exchange
ded845a781a578 Harry Morris  2017-03-28  1750   * @msduhandle:  Identifier of transmission that has completed
ded845a781a578 Harry Morris  2017-03-28  1751   * @status:      Returned 802.15.4 status code of the transmission
ded845a781a578 Harry Morris  2017-03-28  1752   *
ded845a781a578 Harry Morris  2017-03-28  1753   * Return: 0 or linux error code
ded845a781a578 Harry Morris  2017-03-28  1754   */
ded845a781a578 Harry Morris  2017-03-28  1755  static int ca8210_async_xmit_complete(
ded845a781a578 Harry Morris  2017-03-28  1756  	struct ieee802154_hw  *hw,
ded845a781a578 Harry Morris  2017-03-28  1757  	u8                     msduhandle,
ded845a781a578 Harry Morris  2017-03-28  1758  	u8                     status)
ded845a781a578 Harry Morris  2017-03-28  1759  {
ded845a781a578 Harry Morris  2017-03-28  1760  	struct ca8210_priv *priv = hw->priv;
ded845a781a578 Harry Morris  2017-03-28  1761  
ded845a781a578 Harry Morris  2017-03-28  1762  	if (priv->nextmsduhandle != msduhandle) {
ded845a781a578 Harry Morris  2017-03-28  1763  		dev_err(
ded845a781a578 Harry Morris  2017-03-28  1764  			&priv->spi->dev,
ded845a781a578 Harry Morris  2017-03-28  1765  			"Unexpected msdu_handle on data confirm, Expected %d, got %d\n",
ded845a781a578 Harry Morris  2017-03-28  1766  			priv->nextmsduhandle,
ded845a781a578 Harry Morris  2017-03-28  1767  			msduhandle
ded845a781a578 Harry Morris  2017-03-28  1768  		);
ded845a781a578 Harry Morris  2017-03-28  1769  		return -EIO;
ded845a781a578 Harry Morris  2017-03-28  1770  	}
ded845a781a578 Harry Morris  2017-03-28  1771  
ded845a781a578 Harry Morris  2017-03-28  1772  	priv->async_tx_pending = false;
ded845a781a578 Harry Morris  2017-03-28  1773  	priv->nextmsduhandle++;
ded845a781a578 Harry Morris  2017-03-28  1774  
ded845a781a578 Harry Morris  2017-03-28  1775  	if (status) {
ded845a781a578 Harry Morris  2017-03-28  1776  		dev_err(
ded845a781a578 Harry Morris  2017-03-28  1777  			&priv->spi->dev,
ded845a781a578 Harry Morris  2017-03-28  1778  			"Link transmission unsuccessful, status = %d\n",
ded845a781a578 Harry Morris  2017-03-28  1779  			status
ded845a781a578 Harry Morris  2017-03-28  1780  		);
ded845a781a578 Harry Morris  2017-03-28  1781  		if (status != MAC_TRANSACTION_OVERFLOW) {
621b24b09eb61c Miquel Raynal 2022-01-25 @1782  			dev_kfree_skb_any(priv->tx_skb);
ded845a781a578 Harry Morris  2017-03-28  1783  			ieee802154_wake_queue(priv->hw);
ded845a781a578 Harry Morris  2017-03-28  1784  			return 0;
ded845a781a578 Harry Morris  2017-03-28  1785  		}
ded845a781a578 Harry Morris  2017-03-28  1786  	}
ded845a781a578 Harry Morris  2017-03-28  1787  	ieee802154_xmit_complete(priv->hw, priv->tx_skb, true);
ded845a781a578 Harry Morris  2017-03-28  1788  
ded845a781a578 Harry Morris  2017-03-28  1789  	return 0;
ded845a781a578 Harry Morris  2017-03-28  1790  }
ded845a781a578 Harry Morris  2017-03-28  1791  

:::::: The code at line 1782 was first introduced by commit
:::::: 621b24b09eb61c63f262da0c9c5f0e93348897e5 net: ieee802154: ca8210: Stop leaking skb's

:::::: TO: Miquel Raynal <miquel.raynal@bootlin.com>
:::::: CC: Stefan Schmidt <stefan@datenfreihafen.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

                 reply	other threads:[~2022-02-23 17:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202202240010.CSrNf18k-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.