Searched hist:"880732 ae31e890a568a71eb50d5747284b3c4dbe" (Results 1 – 3 of 3) sorted by relevance
/linux/samples/kfifo/ |
H A D | record-example.c | diff 880732ae31e890a568a71eb50d5747284b3c4dbe Thu Sep 23 19:29:18 CEST 2021 Sebastian Andrzej Siewior <bigeasy@linutronix.de> 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>
|
H A D | inttype-example.c | diff 880732ae31e890a568a71eb50d5747284b3c4dbe Thu Sep 23 19:29:18 CEST 2021 Sebastian Andrzej Siewior <bigeasy@linutronix.de> 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>
|
H A D | bytestream-example.c | diff 880732ae31e890a568a71eb50d5747284b3c4dbe Thu Sep 23 19:29:18 CEST 2021 Sebastian Andrzej Siewior <bigeasy@linutronix.de> 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>
|