Need patch for vmalloc.h

Omar Mustafa omarmustafa1991 at yahoo.com
Thu Sep 2 14:17:16 UTC 2021


I have the correct headers installed (5.13.9-Generic)

Sent from my iPhone

> On 2 Sep 2021, at 3:02 PM, Omar Mustafa <omarmustafa1991 at yahoo.com> wrote:
> 
> Hi
> 
> I am trying to compile some drivers from the source but MAKE fails with the following errors:
> 
> error: too many arguments to function ‘__vmalloc’   157 |   
>    __vmalloc(load_driver->sys_files[i].size,
> 
> ./include/linux/vmalloc.h:132:14: note: declared here
>      132 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
> 
> I googled online but had no luck
> 
> Is there any way to fix this??
> 
> Thanks in advance





More information about the ubuntu-users mailing list