diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-09-23 19:29:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-13 14:36:48 +0200 |
commit | 880732ae31e890a568a71eb50d5747284b3c4dbe (patch) | |
tree | d7e64027fec15b8a89def8999a515aecef9e7766 /drivers/nvmem/core.c | |
parent | 85385a51ceadfe79ae3b1eb5848fab6c3b917ea8 (diff) | |
download | linux-stable-880732ae31e890a568a71eb50d5747284b3c4dbe.tar.gz linux-stable-880732ae31e890a568a71eb50d5747284b3c4dbe.tar.bz2 linux-stable-880732ae31e890a568a71eb50d5747284b3c4dbe.zip |
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>
Diffstat (limited to 'drivers/nvmem/core.c')
0 files changed, 0 insertions, 0 deletions