[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080906171803.GJ4856@elte.hu>
Date: Sat, 6 Sep 2008 19:18:03 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Yinghai Lu <yhlu.kernel@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dyn_array: using %pF instead of
print_fn_descriptor_symbol
* Yinghai Lu <yhlu.kernel@...il.com> wrote:
> On Sat, Sep 6, 2008 at 10:09 AM, Ingo Molnar <mingo@...e.hu> wrote:
> >
> > * Andrew Morton <akpm@...ux-foundation.org> 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?
>
> already in tip/master and -mm
> except first one.
that needs fixing too i think. We dont really want to sprinkle the code
with various specific panics.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists