From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Lamparter Subject: Re: [PATCH] carl9170: tx: Replace rcu_assign_pointer() with RCU_INIT_POINTER() Date: Wed, 27 Aug 2014 19:38:21 +0200 Message-ID: <3330201.Gf1OWK6m5t@debian64> References: <20140827132730.GA31650@ada> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com To: Andreea-Cristina Bernat Return-path: In-Reply-To: <20140827132730.GA31650@ada> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wednesday, August 27, 2014 04:27:30 PM Andreea-Cristina Bernat wrote: > According to RCU_INIT_POINTER()'s block comment 3.a, it can be used if > "3. The referenced data structure has already been exposed to readers either > at compile time or via rcu_assign_pointer() -and- > a. You have not made -any- reader-visible changes to this structure since > then". > [...] > > Signed-off-by: Andreea-Cristina Bernat Acked-by: Christian Lamparter [OT: John, will "carl9170: Remove redundant protection check" make it in the next round too?] Regards Christian