projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab4910
)
tty: tty_port: Delete a blank line before EXPORT_SYMBOL(foo)
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:23 +0000
(17:26 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:13 +0000
(18:29 +0200)
Delete a blank line before EXPORT_SYMBOL(foo) so that
EXPORT_SYMBOL(foo) immediately follow its function/variable,
reported by checkpatch.pl.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link:
https://lore.kernel.org/r/1620811585-18582-16-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_port.c
b/drivers/tty/tty_port.c
index
0eb5232
..
7557bcd
100644
(file)
--- a/
drivers/tty/tty_port.c
+++ b/
drivers/tty/tty_port.c
@@
-698,5
+698,4
@@
int tty_port_open(struct tty_port *port, struct tty_struct *tty,
mutex_unlock(&port->mutex);
return tty_port_block_til_ready(port, tty, filp);
}
-
EXPORT_SYMBOL(tty_port_open);