Re: Suspicious compilation warning

From: Marcelo Jimenez
Date: Thu May 06 2010 - 09:24:50 EST


Hi Kyungmin,

On Wed, May 5, 2010 at 22:24, Kyungmin Park <kmpark@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
> It tested with my board and working.
> Just curious. If NR_SECTION_ROOTS is zero and uninitialized then
> what's problem? Since we boot and working without patch.

The original compiler error message was:

mm/sparse.c: In function '__section_nr':
mm/sparse.c:135: warning: 'root' is used uninitialized in this function

Leaving a variable to be used uninitialized is the issue here.

> Thank you,
> Kyungmin Park

Regards,
Marcelo.
--
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/