Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: tty_jobctrl: Fix 2 incorrectly documented functions

Fixes the following W=1 kernel build warning(s):

drivers/tty/tty_jobctrl.c:33: warning: expecting prototype for tty_check_change(). Prototype was for __tty_check_change() instead
drivers/tty/tty_jobctrl.c:97: warning: expecting prototype for proc_set_tty(). Prototype was for __proc_set_tty() instead

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210520121906.3468725-7-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
6ef6785d a1c0da88

+2 -2
+2 -2
drivers/tty/tty_jobctrl.c
··· 20 20 } 21 21 22 22 /** 23 - * tty_check_change - check for POSIX terminal changes 23 + * __tty_check_change - check for POSIX terminal changes 24 24 * @tty: tty to check 25 25 * @sig: signal to send 26 26 * ··· 85 85 } 86 86 87 87 /** 88 - * proc_set_tty - set the controlling terminal 88 + * __proc_set_tty - set the controlling terminal 89 89 * @tty: tty structure 90 90 * 91 91 * Only callable by the session leader and only if it does not already have