Re: [PATCH 1/1] arch/um: fix forward declaration for vmalloc

From: Johannes Berg
Date: Thu Mar 28 2024 - 04:48:28 EST


On Tue, 2024-03-26 at 00:37 -0700, Suren Baghdasaryan wrote:
>
> -extern void *vmalloc(unsigned long size);
> +extern void *vmalloc_noprof(unsigned long size);
> +#define vmalloc(...) vmalloc_noprof(__VA_ARGS__)
>

I was confused a bit by the define at first, but that's because this is
a user-side header file.

Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx

johannes