Re: [PATCH] carl9170: tx: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

From: Christian Lamparter
Date: Wed Aug 27 2014 - 13:38:32 EST

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 <bernat.ada@xxxxxxxxx>
Acked-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>

[OT: John, will "carl9170: Remove redundant protection check" make it
in the next round too?]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at