CC: kbuild-...@lists.01.org
CC: linux-ker...@vger.kernel.org
TO: "Jason, Gunthorpe," <j...@mellanox.com>
CC: Leon Romanovsky <leo...@mellanox.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   bdc48fa11e46f867ea4d75fa59ee87a7f48be144
commit: c206f8bad15d30f1e35821c21a2fb146e4668ebf RDMA/cm: Make it clearer how 
concurrency works in cm_req_handler()
date:   3 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 3 months ago
config: arc-randconfig-c021-20200531 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <l...@intel.com>
Reported-by: Julia Lawall <julia.law...@lip6.fr>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/infiniband/core/cm.c:882:19-29: ERROR: function cm_finalize_id 
>> called on line 2136 inside lock on line 2135 but uses GFP_KERNEL

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c206f8bad15d30f1e35821c21a2fb146e4668ebf
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout c206f8bad15d30f1e35821c21a2fb146e4668ebf
vim +882 drivers/infiniband/core/cm.c

98f67156a80f37 Jason Gunthorpe 2020-03-10  874  
98f67156a80f37 Jason Gunthorpe 2020-03-10  875  /*
98f67156a80f37 Jason Gunthorpe 2020-03-10  876   * Make the ID visible to the 
MAD handlers and other threads that use the
98f67156a80f37 Jason Gunthorpe 2020-03-10  877   * xarray.
98f67156a80f37 Jason Gunthorpe 2020-03-10  878   */
98f67156a80f37 Jason Gunthorpe 2020-03-10  879  static void 
cm_finalize_id(struct cm_id_private *cm_id_priv)
98f67156a80f37 Jason Gunthorpe 2020-03-10  880  {
98f67156a80f37 Jason Gunthorpe 2020-03-10  881          
xa_store_irq(&cm.local_id_table, cm_local_id(cm_id_priv->id.local_id),
98f67156a80f37 Jason Gunthorpe 2020-03-10 @882                       
cm_id_priv, GFP_KERNEL);
98f67156a80f37 Jason Gunthorpe 2020-03-10  883  }
98f67156a80f37 Jason Gunthorpe 2020-03-10  884  

:::::: The code at line 882 was first introduced by commit
:::::: 98f67156a80f37db70ec64787020b1f9bc8aea8c RDMA/cm: Simplify establishing 
a listen cm_id

:::::: TO: Jason Gunthorpe <j...@mellanox.com>
:::::: CC: Jason Gunthorpe <j...@mellanox.com>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to