Hello all, I am trying to compile a kernel module, simply a hello world. I found that not only does compilation fail, but it also alters (or at least shows to alter) Linux header files. This is a video of it This is the module code:
#include #include
//When module is started this runs int init_module(){ printk(KERN_INFO “Module loaded, Wtry!\n”); return 0; }
MODULE_LICENSE(“GPL”); MODULE_AUTHOR(“Wtry on Lemmy”); //when module is unloaded void cleanup_module() { printk(KERN_INFO “Module unloaded, Wtry!”); } // Lemmy’s code formatting kept messing up, sorry.
Here is an alternative Piped link(s):
This is a video of it
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source; check me out at GitHub.