Difference between .o and .ko file

The short answer is that the .ko file is your object file linked with some kernel automatically generated data structures that are needed by the kernel. The .o file is the object file of your module – the result of compiling your C file. The kernel build system then automatically creates another C file with some data structures describing … Read more