On Thu, Feb 15, 2007 at 07:39:41PM +0900, Magnus Damm wrote:
> Make sure max_memory_ranges are cleared before incremented
> 
> I happened to call get_memory_ranges() twice on ia64 while debugging some
> kdump issue the other day. This did not work as expected because the
> variable max_memory_ranges was not cleared before being incremented.
> So the second caller gets more ranges than needed.
> 
> This is normally not a problem - get_memory_ranges() is only called once -
> but I think it is good coding practice to start from a known state.
> 
> Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>

Thanks, applied.
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to