]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: main: rename 'mod_init' & 'mod_exit' functions to be module-specific
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 29 Nov 2021 15:39:23 +0000 (10:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Nov 2021 03:50:30 +0000 (19:50 -0800)
commit09f5d48d43d1a7531432888adfec87d875c9cb17
tree7cecb0716619b9ab38a5cfd76c76e408130df78d
parent87e306482d1cfa9ece3b03fe0742e035953df4e9
wireguard: main: rename 'mod_init' & 'mod_exit' functions to be module-specific

Rename module_init & module_exit functions that are named
"mod_init" and "mod_exit" so that they are unique in both the
System.map file and in initcall_debug output instead of showing
up as almost anonymous "mod_init".

This is helpful for debugging and in determining how long certain
module_init calls take to execute.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wireguard/main.c