[PATCH] Fix corruption error in rh_alloc_fixed()

Timur Tabi timur at freescale.com
Wed Dec 10 02:16:50 EST 2008


Guillaume Knispel wrote:

> blk = NULL; at the end of the loop is what is done in the more used
> rh_alloc_align(), so for consistency either we change both or we use
> the same construction here.
> I also think that testing for &info->free_list is harder to understand
> because you must have the linked list implementation in your head
> (which a kernel developer should anyway so this is not so important)

Fair enough.

Acked-by: Timur Tabi <timur at freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list