[lkml]   [2019]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] tcp: don't use __constant_cpu_to_be32
On Wed, Mar 13, 2019 at 11:15 PM Sergey Senozhatsky
<> wrote:
> A trivial patch.

Not so trivial...

> cpu_to_be32() is capable enough to detect __builtin_constant_p()
> and to use an appropriate compile time ___constant_swahb32()
> function.
> So we can use cpu_to_be32() instead of __constant_cpu_to_be32().

I dunno, this is uapi, this might break user space for some funky compiler ?

I do not even know if cpu_to_be32() _is_ uapi.

 \ /
  Last update: 2019-03-14 13:43    [W:0.082 / U:8.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site