[Crash-utility] [PATCH] Fix reading of "task_state_array"

Michael Holzheu holzheu at linux.vnet.ibm.com
Fri Aug 27 13:59:55 UTC 2010


On Fri, 2010-08-27 at 09:48 -0400, Dave Anderson wrote:
> ----- "Michael Holzheu" <holzheu at linux.vnet.ibm.com> wrote:
> > I think, when reading the array, we should use the array size as
> > loop exit criteria instead of checking for NULL termination.
> 
> Agreed -- I'll just change your patch to just call get_array_length()
> one time, and stash the result for use by the loop.

Ok, this makes sense.

Thanks!

Michael




More information about the Crash-utility mailing list