Re: [PATCH] Pointer cast warnings in scripts/
From: Pierre Ossman
Date: Tue Jun 21 2005 - 09:12:58 EST
Roman Zippel wrote:
>No, go through the warnings, analyze each one and choose an appropriate
>solution. You might want to keep notes, which you can post with the
>changelogs, so one can reproduce, why a certain change was done.
The problem is that they're mostly calls to library functions (strlen,
strcmp, fgets, etc.) so it's either the solaris way or the glibc way.
A (somewhat unclean) solution is to make the type change based on the
platform. Are there any defines present to test if we're in a Solaris
environment? I don't have access to any Solaris machines myself so I
can't really test.
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/