Re: [PATCH] 24-bit types: typedef and functions for accessing 3-byte arrays as integers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Boaz Harrosh
Date: Wednesday, September 10, 2008 - 5:57 am

Chris Leech wrote:
<snip>

Thanks! Personally I like this much better.

Sorry to be nit picking but again I hate that double implementation thing.
From what I could see, and considering a few of the ARCHs you mentioned,
it looks to me like <linux/swab.h> is common to the two implementations,
(old and new). Perhaps put the "__xxx" implementations in swab.h and
only the xxx => __xxx switching in the double byteorder headers, which
fits better with the surrounding style of these headers. 

Thanks
Boaz
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] 24-bit types: typedef and functions for access ..., Boaz Harrosh, (Wed Sep 10, 5:57 am)
Re: [PATCH 1/3] 24-bit types: typedef and macros for acces ..., Christoph Hellwig, (Wed Sep 10, 7:07 am)