summaryrefslogtreecommitdiff
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@kernel.org>2023-07-12 08:42:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-25 19:19:39 +0200
commit5bedcf70c6be530c6c4a7f78a820dd19566996e0 (patch)
tree79feed8c58c72488c619870c065db0b43f35ecfb /kernel/debug/debug_core.c
parent32042446c030b677f3bf10081876d9bd078740a2 (diff)
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/debug_core.c')
0 files changed, 0 insertions, 0 deletions