printk: Move EXPORT_SYMBOL() closer to vprintk definition
authorPunit Agrawal <punitagrawal@gmail.com>
Mon, 14 Jun 2021 23:56:35 +0000 (08:56 +0900)
committerPetr Mladek <pmladek@suse.com>
Wed, 16 Jun 2021 08:42:19 +0000 (10:42 +0200)
commit6262e1b906a1ba12688ea6039453b4a088dbaf44
tree1a87878f6882a19980679c8310471f15cb32c7cc
parent7f3d08b255d1806502e45fe70ca2ba9646eb3aa1
printk: Move EXPORT_SYMBOL() closer to vprintk definition

Commit 28e1745b9fa2 ("printk: rename vprintk_func to vprintk") while
improving readability by removing vprintk indirection, inadvertently
placed the EXPORT_SYMBOL() for the newly renamed function at the end
of the file.

For reader sanity, and as is convention move the EXPORT_SYMBOL()
declaration just after the end of the function.

Fixes: 28e1745b9fa2 ("printk: rename vprintk_func to vprintk")
Signed-off-by: Punit Agrawal <punitagrawal@gmail.com>
Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210614235635.887365-1-punitagrawal@gmail.com
kernel/printk/printk_safe.c