-----Original Message-----
> > Maybe we should keep the original changes:
> > - return;
> > + error(FATAL, "cannot determine wait queue
structure\n");
> >
> > And fix the warnings directly in the kernel.c(dump_waitq()) as below:
> >
> > - ulong task_offset; /* offset of task in wq element */
> > + ulong task_offset = 0; /* offset of task in wq element */
> > int cnt; /* # elems on Queue */
> > - int start_index; /* where to start in wq array */
> > + int start_index = -1; /* where to start in wq array */
>
> OK, I see. Let's go with this reasonable fix.
>
Thanks, Kazu.
For v2 with the warning fix: Acked-by: Lianbo Jiang <lijang(a)redhat.com>
Applied with the fix above:
https://github.com/crash-utility/crash/commit/eaf14f852ae79f7745934e21366...
Thanks,
Kazu