MODULEPARMDESC
MODULEPARMDESC is a macro in the Linux kernel module parameter framework that attaches a human-readable description to a module parameter. It is typically used in conjunction with module_param, and its primary purpose is to improve documentation and tooling by making parameter meanings explicit in modinfo output.
Usage involves declaring a parameter with module_param and then providing a description with MODULEPARMDESC (the canonical
The description provided by MODULEPARMDESC remains associated with the parameter name and is included in the
The macro typically resides in the kernel’s parameter headers (such as linux/moduleparam.h) and is part of the