Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix
From: Daniel Walker
Date: Wed May 10 2006 - 10:31:21 EST
On Wed, 2006-05-10 at 11:34 +0100, Alan Cox wrote:
>
> This causes very poor code as its initializing an object on the stack.
> It also appears from inspection to be entirely un-neccessary. Instead
> the compiler needs some help.
It's just a warning .. The compiler flagged a spot which look suspect .
We have -Wall turn on now , so we could possibly disable these
warnings.
> Hiding warnings like this can be a hazard as it will hide real warnings
> later on.
How could it hide real warnings? If anything these patch allow other
(real warnings) to be seen .
-
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/