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

Configure Feed

Select the types of activity you want to include in your feed.

tty: tty_ldisc: Add a blank line after declarations

Add a blank line after declarations, reported by checkpatch.pl.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1617779210-51576-8-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xiaofei Tan and committed by
Greg Kroah-Hartman
d7238359 5d3945e8

+2
+2
drivers/tty/tty_ldisc.c
··· 771 771 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) 772 772 { 773 773 int retval = tty_ldisc_open(tty, tty->ldisc); 774 + 774 775 if (retval) 775 776 return retval; 776 777 ··· 830 829 int tty_ldisc_init(struct tty_struct *tty) 831 830 { 832 831 struct tty_ldisc *ld = tty_ldisc_get(tty, N_TTY); 832 + 833 833 if (IS_ERR(ld)) 834 834 return PTR_ERR(ld); 835 835 tty->ldisc = ld;