Re: [PATCH 2.6.22-rc1] net/core/skbuff.c gcc-3.2.3 compilationerror

From: David Miller
Date: Sat May 19 2007 - 16:55:47 EST


From: Mikael Pettersson <mikpe@xxxxxxxx>
Date: Fri, 18 May 2007 13:49:59 +0200 (MEST)

> [Resend. First message reached netdev but not linux-kernel due to Cc: typo]
>
> Compiling 2.6.22-rc1 with gcc-3.2.3 for i486 fails with:
...
> The patch below implements a simple workaround which is to
> clone the offending memcpy() call and specialise it for the
> two different scenarios.
>
> Other workarounds are of course possible: e.g. bind the varying
> parameter in a local variable, or use a macro or inline function
> to perform the varying computation.
>
> Signed-off-by: Mikael Pettersson <mikpe@xxxxxxxx>

Applied, thanks Mikael.
-
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/