Re: [PATCHv2] staging: rtl8723bs: do not use __constant_cpu_to_le16
From: Greg Kroah-Hartman
Date: Sun Mar 17 2019 - 08:16:29 EST
On Sun, Mar 17, 2019 at 08:48:03PM +0900, Sergey Senozhatsky wrote:
> From: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx>
Why ".work"?
>
> cpu_to_le16() is capable enough to detect __builtin_constant_p()
> and to use an appropriate compile time ___constant_swahbXX()
> function.
>
> So we can use cpu_to_le16() instead of __constant_cpu_to_le16().
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
Email address does not match up to the From: line above :(