Re: WIP generic module->debug_flags and dynamic_debug

2020-06-11 Thread jim . cromie
> > can anyone diagnose my problem ? > > Sorry, I have not the faintest idea of what you're trying to achieve. > Can you spell that out? > > Rasmus hey, sorry for the lack of context. Ive solved my problem, by adding (void*) to my container_of usage. WIP code now "works", but still incomplete. wil

Re: WIP generic module->debug_flags and dynamic_debug

2020-06-11 Thread Rasmus Villemoes
On 10/06/2020 20.32, 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. > > ATM its b

Re: WIP generic module->debug_flags and dynamic_debug

2020-06-10 Thread Joe Perches
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.