diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2023-08-10 11:14:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-11 21:12:45 +0200 |
| commit | 8d9526f99fc39ebaca173eda646818023e7f0730 (patch) | |
| tree | 0ac8e025e68e8444a5242f054e90c40f089f276a /tools/perf/scripts/python | |
| parent | 201560af612c12f43211a881edd378727a9a52d6 (diff) | |
tty: switch count in tty_ldisc_receive_buf() to size_t
It comes from both paste_selection() and tty_port_default_receive_buf()
as unsigned (int and size_t respectively). Switch to size_t to converge
to that eventually.
Return the count as size_t too (the two callers above expect that).
Switch paste_selection()'s type of 'count' too, so that the returned and
passed type match.
Signed-off-by: "Jiri Slaby (SUSE)" <[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')
0 files changed, 0 insertions, 0 deletions