Comment 121 for bug 644898

Revision history for this message
Alejandro Salas (kriegerd) wrote :

@Roberto Grassi,

I'm sorry if this is a newbie question. I searched the file and what I found was: PDE(inode)->data, do you mean to just replace that with PDE_DATA(inode)->data??

That's what I did and I'm still getting error
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c: In function ‘version_proc_open’:
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:827:61: warning: dereferencing ‘void *’ pointer [enabled by default]
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:827:61: error: request for member ‘data’ in something not a structure or union
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:828:1: warning: control reaches end of non-void function [-Wreturn-type]

Thank you in advance.