summaryrefslogtreecommitdiffstats
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>2014-08-18 15:05:37 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2014-09-15 14:27:33 -0700
commitc04047eceed45ae210d020868672456c33cae300 (patch)
tree464906d52d206f26b47425fc9e5e1c9fc54cebda /scripts/mksysmap
parente1ea97fef0cd579fd7ef3851548e068eaf2ad9f0 (diff)
downloadlinux-c04047eceed45ae210d020868672456c33cae300.tar.gz
linux-c04047eceed45ae210d020868672456c33cae300.tar.bz2
linux-c04047eceed45ae210d020868672456c33cae300.zip
tcm_fc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
The use of "rcu_assign_pointer()" is NULLing out the pointer. 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) Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions