Suspicious compilation warning

Marcelo Jimenez mroberto at cpti.cetuc.puc-rio.br
Thu May 6 09:24:23 EDT 2010


Hi Kyungmin,

On Wed, May 5, 2010 at 22:24, Kyungmin Park <kmpark at infradead.org> 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.



More information about the linux-arm-kernel mailing list