寂静的羽夏
deepin
2022-08-25 02:48 Please check that the header file version of the driver development is consistent with the kernel version of the test computer.
I suggest you compile the code on the test computer and insert the module to avoid this error.
Reply Like 0 View the author


中文 
insmod: ERROR: could not insert module mm_test.ko: Invalid module format
Makefile
uname -a
Linux XXX-PC 5.15.34-amd64-desktop #2 SMP Mon May 16 16:31:30 CST 2022 x86_64 GNU/Linux