On Wed, 2020-06-10 at 12:32 -0600, jim.cro...@gmail.com wrote: > so Ive got a WIP / broken / partial approach to giving all modules a > u32 flagset, > and enabling pr_debug based upon it. I leave out the "pr_debug_typed( > bitpos )" for now. For Stanimir, bits 1,2,3 could be high, middle, > low.
Can you change this please to be a pointer to an unsigned long/int? That way, existing non-dynamic debug uses like MODULE_PARM_DESC(debug, "module specific debug control"); maybe could use the same mechanism to enable/disable by class.