Re: [PATCH 1/6] sh: fix compiler warning by properly inliningflat_set_persistent()

From: Paul Mundt
Date: Sat Jun 09 2012 - 05:14:26 EST


On Sat, Jun 09, 2012 at 05:13:26AM -0300, Ezequiel Garcia wrote:
> This patch removes the following warning:
> fs/binfmt_flat.c:752: warning: unused variable ???persistent???
> There is neither change in functionality, nor extra code generated.
>
> Cc: Paul Mundt <lethal@xxxxxxxxxxxx>
> Cc: <linux-sh@xxxxxxxxxxxxxxx>
> Signed-off-by: Ezequiel Garcia <elezegarcia@xxxxxxxxx>

That's what the cast was for, with what gcc version did that stop
working?
--
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/