Re: [PATCH] UBIFS: endian handling fixes and annotations

Sebastian Andrzej Siewior
2008-11-23T09:28:50Z

* 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