Re: [PATCH] Pointer cast warnings in scripts/
From: Roman Zippel
Date: Tue Jun 21 2005 - 07:37:41 EST
Hi,
On Tue, 21 Jun 2005, Pierre Ossman wrote:
> GCC 4 checks the signedness of pointer casts and generates a whole bunch
> of warnings for code in scripts/ (which makes heavy use of signed char
> strings).
>
> This patch adds explicit casts.
Just adding explicit all over the place is really the worst solution.
Check if you can adjust data types/function prototypes.
Lots of the signed stuff was added as a warning fix for Solaris, I'd
rather drop that than adding casts all over the place. So you also may
want to check the file history, why certain constructs were added.
bye, Roman
-
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/