Vmalloc.h implicit functions
Greg KH
greg at kroah.com
Tue Sep 7 08:53:40 EDT 2021
On Tue, Sep 07, 2021 at 02:41:57PM +0200, Omar Mustafa wrote:
> Hi all,
>
> I’m trying to install some modules but yet I fail with those 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);
What out-of-tree drivers are you trying to build? Please fix them up to
handle the new api changes.
> Hence, make fails every time.
Then fix the drivers, they are under your control :)
> I was hoping whether there is any solution to this problems since
> Bluetooth driver build for example fails and I need it working for
> some IoT projects I am currently working on.
What exact driver is failing?
thanks,
greg k-h
More information about the Kernelnewbies
mailing list