error:‘struct vm_fault‘ has no member named ‘virtual_address‘

简介: error:‘struct vm_fault‘ has no member named ‘virtual_address‘

如图:

查看内核源码:

发现vm_fault里面没有virtual_address这个成员,进入内核查看mm.h可以看到virtual_address已经改为address,所以要将virtual_address修改为address。

相关文章
|
4月前
Mac 安装 Node Error: Could not symlink include/node/common.gypi
Mac 安装 Node Error: Could not symlink include/node/common.gypi
40 3
container_of(ptr,type,member)宏
详细解释了container_of(ptr,type,member)宏的用途
Unable to handle kernel NULL pointer dereference at virtual address 00000000问题的解决
今天在编译好内核模块后,安装内核模块memdev.ko的时候,出现了Unable to handle kernel NULL pointer dereference at virtual address 00000000等如图所示的问题:     在百度和google找了很多答案,明显就是跟指针有关系。
3218 0