fishinabarrel / linux-kernel-module-rust

Framework for writing Linux kernel modules in safe Rust
GNU General Public License v2.0
1.33k stars 119 forks source link

Run cargo clippy from inside Kbuild #237

Closed geofft closed 4 years ago

geofft commented 4 years ago

Once we do #191, build.rs needs to run inside Kbuild (since it can no longer call out to kernel-cflags-finder), and clippy is unable to run if build.rs doesn't run.

Also, fix up clippy warnings about our actual modules, not just the framework.