Re: [PATCH][rfc] Use int as return type of main inarch/x86/boot/main.c

From: Steven Rostedt
Date: Mon Mar 14 2011 - 15:04:12 EST


On Mon, Mar 14, 2011 at 09:49:18AM -0700, H. Peter Anvin wrote:
> On 03/14/2011 04:32 AM, Harry Wei wrote:
> > On Sun, Mar 13, 2011 at 11:00:09PM +0100, Jesper Juhl wrote:
> >> I believe the return type of main should always be 'int'.
> >>
> >> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> > Acked-by: Harry Wei <harryxiyou@xxxxxxxxx>
>
> It would make more sense to rename the function to something other than
> main().

Right, maybe "boot_start"?

-- Steve

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