[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <486E147D.4090105@garzik.org>
Date: Fri, 04 Jul 2008 08:15:57 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Roland Dreier <rdreier@...co.com>
CC: netdev@...r.kernel.org, themann@...ibm.com
Subject: Re: [PATCH] ehea: Access iph->tot_len with correct endianness
Roland Dreier wrote:
> iph->tot_len is stored in network byte order, so access it using
> ntohs(). This doesn't have any real world impact on ehea, since ehea
> only exists for big-endian platfroms (at the moment at least) but fixing
> this gets rid of a sparse warning and avoids having a bad example in the
> tree.
>
> Signed-off-by: Roland Dreier <rolandd@...co.com>
> ---
> drivers/net/ehea/ehea_main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied this and pasemi_mac patch to 2.6.26.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists