Re: [W1] Fix slave addition on big-endian platform

From: Greg KH
Date: Thu Jun 23 2005 - 03:39:37 EST


On Wed, Jun 22, 2005 at 06:27:32PM -0700, roger blofeld wrote:
> Hi
> In the 2.6.12 code the "rn" structure is in the wrong-endianness when
> passed to w1_attach_slave_device(). This causes problems like the
> family and crc being swapped around. The following patch fixes the
> problem for me.
>
> Signed-off-by: Roger Blofeld <blofeldus@xxxxxxxxx>

Hm, your patch is line-wrapped and the tabs are missing :(

You should also send this to the w1 author/maintainer first, he would
know if this is the correct fix or not.

thanks,

greg k-h
-
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/