-
Notifications
You must be signed in to change notification settings - Fork 122
Fix some compiled errors(mismatched types) #216
Fix some compiled errors(mismatched types) #216
Conversation
Thanks for the PR! I'm a bit surprised this would happen on a 4 series kernel. |
This seems more likely to be due to the wildcard dependency on bindgen, which recently made the |
Thank you for your comment! |
Hi, Edit: Though I was commenting on the bindgen repo, sorry :P I think I'm experiencing something similar.
Here's the signature of
The second arg to the callback should be This arose when i updated bindgen from version Thanks |
Note that bindgen-0.52 is actually not the newest. I used this version because of a bug in 0.53: fishinabarrel/linux-kernel-module-rust#216 (comment)
See rust-lang/rust-bindgen#1671. You can do |
Thank you for your comments. |
Added |
Building the hello-world module according to README.md results in errors.
Environment
generic/ubuntu1810
box in Vagrant with Virtualboxerror messages
I fixed these errors with type cast and change variable type.