Re: [PATCH v2] cnic: Replace rcu_dereference() with rcu_access_pointer()

From: David Miller
Date: Fri Aug 22 2014 - 15:27:57 EST


From: Andreea-Cristina Bernat <bernat.ada@xxxxxxxxx>
Date: Sun, 17 Aug 2014 13:12:09 +0300

> The "rcu_dereference()" calls are used directly in conditions.
> Since their return values are never dereferenced it is recommended to use
> "rcu_access_pointer()" instead of "rcu_dereference()".
> Therefore, this patch makes the replacements.
...
> Signed-off-by: Andreea-Cristina Bernat <bernat.ada@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/