Re: [PATCH-mm 8/8] decnet: remove private wrappers of endian helpers

From: Ingo Oeser
Date: Thu Nov 27 2008 - 20:30:36 EST


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 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/