Re: [PATCH] um: add __weak for exported functions

2023-02-12 Thread Randy Dunlap
On 2/12/23 11:32, Johannes Berg wrote: > From: Johannes Berg > > If the exported glibc functions don't exist, we get link > failures. Avoid that by adding __weak so they're allowed > to not exist. > > Reported-by: Randy Dunlap > Signed-off-by: Johannes Berg Acked-by: Randy Dunlap Tested-by

[PATCH] um: add __weak for exported functions

2023-02-12 Thread Johannes Berg
From: Johannes Berg If the exported glibc functions don't exist, we get link failures. Avoid that by adding __weak so they're allowed to not exist. Reported-by: Randy Dunlap Signed-off-by: Johannes Berg --- arch/um/os-Linux/user_syms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di