RE: [PATCH 2/2] cifs: don't use __constant_cpu_to_le32()
From: David Laight
Date: Fri Mar 15 2019 - 08:30:42 EST
From: Sergey Senozhatsky
>
> cpu_to_le32() is capable enough to detect __builtin_constant_p()
> and to use an appropriate compile time ___constant_swahb32()
> function.
>
> So we can use cpu_to_le32() instead of __constant_cpu_to_le32().
Unless any code tries to use them as case statement labels.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)