Skip to content
Advertisement

Linux kernel programming: implicit declaration of function ‘vmalloc’

I am adding system call to Linux kernel 6.22.

JavaScript

Then when i make the kernel.It shows the warning:implicit declaration of function ‘vmalloc’.So,what am i gonna do now?

Advertisement

Answer

You should definitely:
#include <linux/vmalloc.h> as it will fix your warning.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement