commit | e5d0424ac31154e47bfce857ba908bbe861c7a92 | [log] [tgz] |
---|---|---|
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | Tue Sep 19 10:51:53 2023 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 03 14:31:16 2023 +0200 |
tree | e21ee634ce5ef984d509951e60f125642131d8d9 | |
parent | 083cfcf38364d8a3869c46875e8ed08f9d1ee160 [diff] |
tty: convert THROTTLE constants into enum And make an explicit constant for zero too. This allows for easier type checking of the parameter. Note: tty_struct::flow_change is kept as int because include/tty.h (tty_struct) doesn't see tty/tty.h (this enum). Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230919085156.1578-13-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>