linux/samples/kfifo
Sebastian Andrzej Siewior 880732ae31 samples/kfifo: Rename read_lock/write_lock
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@linutronix.de>
Link: https://lkml.kernel.org/r/20210806152551.qio7c3ho6pexezup@linutronix.de
Link: https://lore.kernel.org/r/20210923172918.o22iwgvn3w7ilh44@linutronix.de
Acked-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-13 14:36:48 +02:00
..
bytestream-example.c samples/kfifo: Rename read_lock/write_lock 2021-10-13 14:36:48 +02:00
dma-example.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465 2019-06-19 17:09:10 +02:00
inttype-example.c samples/kfifo: Rename read_lock/write_lock 2021-10-13 14:36:48 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
record-example.c samples/kfifo: Rename read_lock/write_lock 2021-10-13 14:36:48 +02:00