[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200811280232.21544.ioe-lkml@rameria.de>
Date: Fri, 28 Nov 2008 02:32:21 +0100
From: Ingo Oeser <ioe-lkml@...eria.de>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
David Miller <davem@...emloft.net>,
"linux-netdev" <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH-mm 8/8] decnet: remove private wrappers of endian helpers
Hi Harvey,
On Wednesday 26 November 2008, Harvey Harrison wrote:
> diff --git a/include/net/dn.h b/include/net/dn.h
> index 6277783..7cd6bb8 100644
> --- a/include/net/dn.h
> +++ b/include/net/dn.h
> @@ -4,9 +4,7 @@
> #include <linux/dn.h>
> #include <net/sock.h>
> #include <asm/byteorder.h>
> -
> -#define dn_ntohs(x) le16_to_cpu(x)
> -#define dn_htons(x) cpu_to_le16(x)
> +#include <asm/unalignedh>
^^^^^^^^^^^^^^^^^^^^^^^^^^^ How does this compile?
But I guess David fixed this up :-)
Best Regards
Ingo Oeser
--
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