[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48C9DCF4.7000604@lwfinger.net>
Date: Thu, 11 Sep 2008 22:07:32 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Roland Dreier <rdreier@...co.com>
CC: Steven Noonan <steven@...inklabs.net>,
LKML <linux-kernel@...r.kernel.org>,
wireless <linux-wireless@...r.kernel.org>
Subject: Re: I need help with a sparse warning
Roland Dreier wrote:
> > This one gets rid of the sparse warning.
> >
> > priv->rx_mtu = le16_to_cpu((__le16 __force)
> > bootrec->data[10]);
>
> Yes but does it actually work on both big and little endian systems?
> (See my previous email)
I don't know, but as my previous email stated, the code could not
possibly have worked on a big-endian system before I started the
sparse cleanup. I don't have access to anything but little-endian
hardware.
Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists