linux/drivers/infiniband/hw/qib
Andreea-Cristina Bernat 590c3fec2d IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_keys.c
The uses of "rcu_assign_pointer()" are NULLing out the pointers.
According to RCU_INIT_POINTER()'s block comment:
"1.   This use of RCU_INIT_POINTER() is NULLing out the pointer"
it is better to use it instead of rcu_assign_pointer() because it has a
smaller overhead.

The following Coccinelle semantic patch was used:
@@
@@

- rcu_assign_pointer
+ RCU_INIT_POINTER
  (..., NULL)

[Derived from http://marc.info/?l=linux-rdma&m=140836519219236&w=2]

Tested-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2015-02-17 10:26:19 -08:00
..
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile IB/qib: Convert opcode counters to per-context 2013-06-21 17:19:50 -07:00
qib.h IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_6120_regs.h
qib_7220.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_7220_regs.h
qib_7322_regs.h IB/qib: Mask hardware error during link reset 2010-07-06 14:13:20 -07:00
qib_common.h IB/qib: Improve SDMA performance 2013-08-13 11:14:34 -07:00
qib_cq.c IB/qib: Optimize CQ callbacks 2013-06-21 17:19:49 -07:00
qib_debugfs.c IB/qib: Correct reference counting in debugfs qp_stats 2014-09-19 10:18:32 -07:00
qib_debugfs.h IB/qib: Convert opcode counters to per-context 2013-06-21 17:19:50 -07:00
qib_diag.c IB/qib: Cleanup qib_register_observer() 2014-03-20 10:19:18 -07:00
qib_dma.c IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads 2014-04-01 11:16:31 -07:00
qib_driver.c IB/qib: Convert opcode counters to per-context 2013-06-21 17:19:50 -07:00
qib_eeprom.c IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_file_ops.c IB/qib: Remove duplicate check in get_a_ctxt() 2014-03-17 16:28:09 -07:00
qib_fs.c [infiniband] remove pointless assignments 2014-10-09 02:39:15 -04:00
qib_iba6120.c IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_iba7220.c IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_iba7322.c IB/qib: Add support for the new QMH7360 card 2015-02-16 16:42:41 -08:00
qib_init.c IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_intr.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_keys.c IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_keys.c 2015-02-17 10:26:19 -08:00
qib_mad.c IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
qib_mad.h IB/qib: Fix checkpatch __packed warnings 2013-11-08 14:43:12 -08:00
qib_mmap.c
qib_mr.c IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
qib_pcie.c IB/qib: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-04-10 18:39:13 -07:00
qib_pio_copy.c
qib_qp.c IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_qp.c 2015-02-17 10:26:19 -08:00
qib_qsfp.c IB/qib: Fix over-scheduling of QSFP work 2011-11-28 12:17:33 -08:00
qib_qsfp.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_rc.c IB/qib: Modify software pma counters to use percpu variables 2014-03-17 16:16:51 -07:00
qib_ruc.c IB/qib: Modify software pma counters to use percpu variables 2014-03-17 16:16:51 -07:00
qib_sd7220.c firmware,IB/qib: revert firmware file move 2013-04-05 12:19:39 -07:00
qib_sdma.c IB/qib: Improve SDMA performance 2013-08-13 11:14:34 -07:00
qib_srq.c RDMA/core: Add SRQ type field 2011-10-13 09:13:26 -07:00
qib_sysfs.c IB/qib: Do not write EEPROM 2015-02-16 16:42:14 -08:00
qib_twsi.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_tx.c IB/qib: Optimize pio ack buffer allocation 2012-05-14 12:37:03 -07:00
qib_uc.c IB/qib: Avoid returning EBUSY from MR deregister 2012-07-08 18:05:19 -07:00
qib_ud.c IB/qib: Modify software pma counters to use percpu variables 2014-03-17 16:16:51 -07:00
qib_user_pages.c IB/qib: Change get_user_pages() usage to always NULL vmas 2014-09-19 10:03:27 -07:00
qib_user_sdma.c IB/qib: Change SDMA progression mode depending on single- or multi-rail 2014-03-20 10:19:12 -07:00
qib_user_sdma.h
qib_verbs.c IB/qib: fixup indentation in qib_ib_rcv() 2014-03-17 16:16:51 -07:00
qib_verbs.h IB/qib: Modify software pma counters to use percpu variables 2014-03-17 16:16:51 -07:00
qib_verbs_mcast.c
qib_wc_ppc64.c
qib_wc_x86_64.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00