更新时间:2022-11-05 15:32:11
When you are developing a Linux kernel module, you should forget about the comforts of Standard C library(Glibc).Instead , you will have to use the Kernel C. So , you should write
#include <linux/types.h>
It will solve the problem.