lkml.org 
[lkml]   [2008]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] UBIFS: endian handling fixes and annotations
* Harvey Harrison | 2008-11-22 19:21:29 [-0800]:

>Nope, no difference, cpu_to_le32 does constant-detection these days and
>so there ends up being no difference.

Indeed. __builtin_constant_p() does the trick. So I guess we could get
rid of __constant_cpu_to_XX32() and its

| grep -RE __constant_cpu_to_[bl]e32 . | wc -l
| 413

users.

>
>Harvey
>

Sebastian


\
 
 \ /
  Last update: 2008-11-23 10:31    [W:0.106 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site