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。

相关文章
container_of(ptr,type,member)宏
详细解释了container_of(ptr,type,member)宏的用途
|
6月前
|
存储
tracker_query_storage fail, error no: 28, error info: No space left on device
tracker_query_storage fail, error no: 28, error info: No space left on device
153 0
|
Linux Windows
The Genymotion virtual device could not obtain an IP address
The Genymotion virtual device could not obtain an IP address
81 0
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找了很多答案,明显就是跟指针有关系。
3196 0