diff options
| author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2025-08-14 10:24:44 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-17 13:46:25 +0300 |
| commit | 9f8da7b2f90cb5fb4c585d5e8aa89dfd724bd377 (patch) | |
| tree | df99d3e9608a875419056c6370bf56a614d9c8ce /scripts/gdb/linux/kasan.py | |
| parent | 0fd60b689b0dacce659253ec15cb3d3bf660e30b (diff) | |
| download | linux-9f8da7b2f90cb5fb4c585d5e8aa89dfd724bd377.tar.xz | |
serial: 8250: introduce RPM guard()s
Having this, guards like these work:
guard(serial8250_rpm)(up);
or
scoped_guard(serial8250_rpm, up) {
...
}
See e.g. "serial: 8250: use guard()s" later in this series.
And make them available to anyone (EXPORT + put in 8250.h) as drivers
open code this anyway.
The _tx ones are not defined as they would have no user.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250814072456.182853-5-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions
