diff options
| author | Jiri Slaby <jirislaby@kernel.org> | 2023-07-12 08:42:16 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-25 19:19:39 +0200 |
| commit | 5bedcf70c6be530c6c4a7f78a820dd19566996e0 (patch) | |
| tree | 79feed8c58c72488c619870c065db0b43f35ecfb /kernel/debug | |
| parent | n_tty: pass ldata to canon_skip_eof() directly (diff) | |
| download | linux-5bedcf70c6be530c6c4a7f78a820dd19566996e0.tar.gz linux-5bedcf70c6be530c6c4a7f78a820dd19566996e0.zip | |
n_tty: make many tty parameters const
In many n_tty functions, the 'tty' parameter is used to either obtain
'ldata', or test the tty flags. So mark 'tty' in them const to make
obvious that it is only read.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230712064216.12150-5-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
