>> +uint debug; >> +module_param(debug, uint, 0); >> +MODULE_PARM_DESC(debug, "Default debug msglevel");
>Why are you adding this as a module parameter? I believe this is mostly to follow same line as qede which also defines 'debug' module parameter for allowing easy user control of debug prints [& specifically for probe prints, which can't be controlled otherwise].