lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 24 Feb 2022 01:02:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.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'

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@...el.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@...tlin.com>
:::::: CC: Stefan Schmidt <stefan@...enfreihafen.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ