Re: [PATCH] dyn_array: using %pF instead ofprint_fn_descriptor_symbol
From: Ingo Molnar
Date: Sat Sep 06 2008 - 13:10:12 EST
* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > ptr = __alloc_bootmem_nopanic(total_size, max_align, 0);
> > if (!ptr)
> > panic("Can not alloc dyn_alloc\n");
>
> Why duplicate the panic()? Just call __alloc_bootmem().
agreed.
> > #ifdef CONFIF_GENERIC_HARDIRQS
>
> That doesn't appear to have been very well tested?
on non-genirq systems? Most likely. If then most testing they get is
from cross-build tools. Few if any actual users.
> The code has a few coding-style glitches which checkpatch can detect.
yeah. Yinghai, could you please fix them?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/