All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:wip-locking 1/1] net/qrtr/qrtr.c:167:13: sparse: sparse: context imbalance in 'qrtr_node_release' - wrong count at exit
@ 2019-12-25 22:24 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-25 22:24 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git wip-locking
head:   96debfc56d1d1c5fcf86a401168b08bbedbde71b
commit: 96debfc56d1d1c5fcf86a401168b08bbedbde71b [1/1] locking/refcount: add sparse annotations to conditional lock functions
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-129-g341daf20-dirty
        git checkout 96debfc56d1d1c5fcf86a401168b08bbedbde71b
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> net/qrtr/qrtr.c:167:13: sparse: sparse: context imbalance in 'qrtr_node_release' - wrong count at exit

vim +/qrtr_node_release +167 net/qrtr/qrtr.c

bdabad3e363d82 Courtney Cavin 2016-05-06  165  
bdabad3e363d82 Courtney Cavin 2016-05-06  166  /* Decrement reference to node and release as necessary. */
bdabad3e363d82 Courtney Cavin 2016-05-06 @167  static void qrtr_node_release(struct qrtr_node *node)
bdabad3e363d82 Courtney Cavin 2016-05-06  168  {
bdabad3e363d82 Courtney Cavin 2016-05-06  169  	if (!node)
bdabad3e363d82 Courtney Cavin 2016-05-06  170  		return;
bdabad3e363d82 Courtney Cavin 2016-05-06  171  	kref_put_mutex(&node->ref, __qrtr_node_release, &qrtr_node_lock);
bdabad3e363d82 Courtney Cavin 2016-05-06  172  }
bdabad3e363d82 Courtney Cavin 2016-05-06  173  

:::::: The code at line 167 was first introduced by commit
:::::: bdabad3e363d825ddf9679dd431cca0b2c30f881 net: Add Qualcomm IPC router

:::::: TO: Courtney Cavin <courtney.cavin@sonymobile.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-25 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-25 22:24 [ebiggers:wip-locking 1/1] net/qrtr/qrtr.c:167:13: sparse: sparse: context imbalance in 'qrtr_node_release' - wrong count at exit kbuild test robot

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.