]> www.infradead.org Git - linux.git/commit
tty: n_tty: make n_tty_data::num_overrun unsigned
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Sun, 27 Aug 2023 07:41:38 +0000 (09:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Aug 2023 09:46:52 +0000 (11:46 +0200)
commitc3b2b26f6eaad5d48fe6dd2d9bada07b193bdb61
tree67da90c74d0c02fc38c8bdbdaa65bdf773ff2b52
parent73276e3a1097ff58d9d167fc9a593cc249d1fd6f
tty: n_tty: make n_tty_data::num_overrun unsigned

n_tty_data::num_overrun is unlikely to overflow in a second. But make it
explicitly unsigned to avoid printing negative values.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230827074147.2287-6-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c