From: Monam Agarwal Date: Sun, 23 Mar 2014 19:21:43 +0000 (+0530) Subject: mac80211: use RCU_INIT_POINTER X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c2bef4621c5feb5bda9068c9964b2e9acf57017;p=pandora-kernel.git mac80211: use RCU_INIT_POINTER rcu_assign_pointer() ensures that the initialization of a structure is carried out before storing a pointer to that structure. However, in the case that NULL is assigned there's no structure to initialize so using RCU_INIT_POINTER instead is safe and more efficient. Signed-off-by: Monam Agarwal [squash eight tiny patches, rewrite commit log] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed