On Thu, 2009-04-30 at 18:10 +0400, Anton Vorontsov wrote: > > @@ -2194,16 +2197,16 @@ static void *kmem_cache_dyn_array_alloc( > > * never get freed by definition so we can do it rather > > * simply. > > */ > > - if (!nextmem) { > > - nextmem = alloc_pages_exact(size, GFP_KERNEL); > > - if (!nextmem) > > - return NULL; > > + if (size > nextleft) { > > + nextmem = alloc_pages_exact(size, GFP_KERNEL); > > + if (!nextmem) > > + return NULL; > > Cosmetic issue: spaces instead of tabs are used on these > three lines.
I fixed that up. Thanks! _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev