[PATCH 2/7] um: Fix the -Wmissing-prototypes warning for __switch_mm

Johannes Berg johannes at sipsolutions.net
Tue Apr 23 04:29:22 PDT 2024


On Tue, 2024-04-23 at 19:24 +0800, Tiwei Bie wrote:
> 
> --- a/arch/um/include/shared/skas/mm_id.h
> +++ b/arch/um/include/shared/skas/mm_id.h
> @@ -15,4 +15,6 @@ struct mm_id {
>  	int kill;
>  };
>  
> +extern void __switch_mm(struct mm_id *mm_idp);
> 

Maybe drop the extern while at it?

johannes



More information about the linux-um mailing list