lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] byteorder: add load/store_{endian} API


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


\
 
 \ /
  Last update: 2009-03-03 02:55    [W:0.075 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site