summaryrefslogtreecommitdiff
path: root/drivers/tty/serdev/core.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-05-19 09:21:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-20 16:59:14 +0200
commit756a4e4a7a4b866f1d834e206cb370988cf394d1 (patch)
tree986aac20372287ac43d73f1c8221a49ab119e669 /drivers/tty/serdev/core.c
parentcd256b068f80e8b4a1eccd73527b67b3eb50f7ad (diff)
downloadlinux-756a4e4a7a4b866f1d834e206cb370988cf394d1.tar.gz
linux-756a4e4a7a4b866f1d834e206cb370988cf394d1.tar.bz2
linux-756a4e4a7a4b866f1d834e206cb370988cf394d1.zip
tty: fix kernel-doc for tty_{read,write}
After commits a9cbbb80e3e7 (tty: avoid using vfs_iocb_iter_write() for redirected console writes) and dd78b0c483e3 (tty: implement read_iter), the tty_read and tty_write kernel-doc comments don't match the code: tty_io.c:931: warning: Function parameter or member 'iocb' not described in 'tty_read' tty_io.c:931: warning: Function parameter or member 'to' not described in 'tty_read' tty_io.c:931: warning: Excess function parameter 'file' description in 'tty_read' tty_io.c:931: warning: Excess function parameter 'buf' description in 'tty_read' tty_io.c:931: warning: Excess function parameter 'count' description in 'tty_read' tty_io.c:931: warning: Excess function parameter 'ppos' description in 'tty_read' tty_io.c:1115: warning: Function parameter or member 'iocb' not described in 'file_tty_write' tty_io.c:1115: warning: Function parameter or member 'from' not described in 'file_tty_write' tty_io.c:1115: warning: expecting prototype for tty_write(). Prototype was for file_tty_write() instead Fix them to correspond the reality, i.e. the switch from read/write to read_iter/write_iter. Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210519072153.3859-3-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serdev/core.c')
0 files changed, 0 insertions, 0 deletions