From: Monam Agarwal Date: Sun, 23 Mar 2014 19:23:40 +0000 (+0530) Subject: cfg80211: regulatory: use RCU_INIT_POINTER X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34dd886c19547ea138634b98a615ccd1fe42cd20;p=pandora-kernel.git cfg80211: regulatory: 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 [rewrite commit log] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed