From: Al Viro <[EMAIL PROTECTED]> Date: Mon, 13 Nov 2006 20:26:56 +0000
> On Mon, Nov 13, 2006 at 11:22:00PM +0300, Alexey Dobriyan wrote: > > 6.5.7(5): The result of E1 >> E2 is E1 right-shifted E2 bit positions. > > ... > > If E1 has a signed type and a negative value, the resulting value > > is implementation defined. > > > > So, cast -1 to unsigned type to make result well-defined. > > Or just use ~0U and be done with that. I've modified the patch based upon Al's suggestion and applied it to 2.6.20, thanks everyone. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html