Re: [PATCH 1/2] byteorder: add load/store_{endian} API

From: Linus Torvalds
Date: Mon Mar 02 2009 - 20:52:18 EST




On Mon, 2 Mar 2009, Harvey Harrison wrote:
>
> OK, static inline it is then. Would you be opposed to an API like:
>
> get_le16
> put_le16
>
> to match with
>
> get_unaligned_le16
> put_unaligned_le16
>
> And make the existing unaligned helpers typesafe?

That sounds much better to me. That said, I'm also wondering what the
upside is of this all?

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