Skip to content

Commit 0c5258e

Browse files
btw616jmberg-intel
authored andcommitted
um: Mark setup_env_path as __init
It's only invoked during boot from main(). Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241128083137.2219830-7-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent c2fdfd7 commit 0c5258e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/um/os-Linux/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void __init install_fatal_handler(int sig)
7373

7474
#define UML_LIB_PATH ":" OS_LIB_PATH "/uml"
7575

76-
static void setup_env_path(void)
76+
static void __init setup_env_path(void)
7777
{
7878
char *new_path = NULL;
7979
char *old_path = NULL;

0 commit comments

Comments
 (0)