diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-04-05 08:08:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-09 15:28:04 +0200 |
| commit | 12bedddb67520d38274ae9163338a125c24732bb (patch) | |
| tree | 1cc81f376207e3cb9b82b0b93e394a6fa02ffa71 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b9cea51b65abecb4dc327a19ab58e6fb116e7e85 (diff) | |
tty: atmel_serial: define macro for RX size
It is repeated in the code and there is also a big warning by
ATMEL_SERIAL_RINGSIZE. So define ATMEL_SERIAL_RX_SIZE and use it
appropriatelly.
The macro uses array_size() and kmalloc_array() is switched to
kmalloc().
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Cc: Richard Genoud <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions