Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH 2/2] cifs: don't use __constant_cpu_to_le32() | Date | Fri, 15 Mar 2019 12:31:22 +0000 |
| |
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)
| |