Re: [PATCH 2.6.9] kbuild warning fixes on Solaris 9

From: Tom Rini
Date: Tue Oct 26 2004 - 09:42:52 EST


On Mon, Oct 25, 2004 at 03:49:07PM -0700, Tom Rini wrote:

> The following set of patches is based loosely on the patches that
> Jean-Christophe Dubois came up with for 2.6.7. Where as the original
> patches added a number of casts to unsigned char, I went the route of
> making the chars be explicitly signed. I honestly don't know which
> route is better to go down. Doing this is the bulk of the patch. Out
> of the rest of the odds 'n ends is that on Solaris, Elf32_Word is a
> ulong, which means all of the printf's are unhappy (uint format, ulong
> arg) for most of the typedefs.

In response to some off-list comments, HOSTCC is gcc-3.3.1 and the char
-> signed char changes are for warnings like:
scripts/basic/fixdep.c:239: warning: subscript has type `char'

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/