Re: [Patch] uml: drop const qualifier for kernel_execve()

From: Johannes Weiner
Date: Wed Dec 03 2008 - 08:41:24 EST


On Wed, Dec 03, 2008 at 12:32:02PM +0000, Américo Wang wrote:
> On Wed, Dec 3, 2008 at 1:20 AM, Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
> > On Tue, Dec 02, 2008 at 10:51:09PM +0000, Américo Wang wrote:
> >> UML implementation of kernel_execve() should not have const qualifier,
> >> because it will finally call do_execve() which doesn't have.
> >
> > And you made sure that do_execve() is correctly annotated?
> >
>
> Yes, I checked that.

Good. Then please fix up do_execve() or let the warning stand out as
a reminder.

Hannes
--
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/