You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My linux kernel version 5.18.14-arch1-1 and hwkm.c don't work.
I have a next error -
error: in passing argument 4 "proc_create": incompatible pointer type [-Werror=incompatible-pointer-types]
proc_file = proc_create("hwkm", 0, NULL, &proc_file_fops);
| ^~~~~~~~~~~~~~~
| |
| const struct file_operations *
I know that in kernel 5.6 and more its done differently but i don't know how...
The text was updated successfully, but these errors were encountered:
My linux kernel version 5.18.14-arch1-1 and hwkm.c don't work.
I have a next error -
error: in passing argument 4 "proc_create": incompatible pointer type [-Werror=incompatible-pointer-types]
proc_file = proc_create("hwkm", 0, NULL, &proc_file_fops);
| ^~~~~~~~~~~~~~~
| |
| const struct file_operations *
I know that in kernel 5.6 and more its done differently but i don't know how...
The text was updated successfully, but these errors were encountered: