Re: [PATCH] samples/kfifo: Rename read_lock/write_lock

From: Sebastian Andrzej Siewior
Date: Tue Oct 05 2021 - 04:55:44 EST


On 2021-09-23 19:29:19 [+0200], To linux-kernel@xxxxxxxxxxxxxxx wrote:
> The variables names read_lock and write_lock can clash with functions used for
> read/writer locks.
>
> Rename read_lock to read_access and write_lock to write_access to avoid a name
> collision.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> Link: https://lkml.kernel.org/r/20210806152551.qio7c3ho6pexezup@xxxxxxxxxxxxx
> ---
>
> Repost.

ping.

Sebastian