79434601

Date: 2025-02-12 22:16:24
Score: 1.5
Natty:
Report link

I was able to build a "hello world" module with following properties:

file_module.c: Implements the following

file_chardev.c: Implements the following

file_fops_impl.h: Implements the following

file_fops.c: Implements the following

file_fops_impl.c: Implements the following

My earlier question became moot when I tried again the same code after a reboot. What is strange is the call to module_init() didn't print any kernel log messages even though I had print statement with error mode.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: saidasa