Re: [PATHv3] staging: rtl8723bs: do not use __constant_cpu_to_le16

From: Greg Kroah-Hartman
Date: Sun Mar 17 2019 - 11:36:44 EST


On Mon, Mar 18, 2019 at 12:20:14AM +0900, Sergey Senozhatsky wrote:
> 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>
> ---
> drivers/staging/rtl8723bs/include/wifi.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

What changed from the previous versions of this patch?

That always has to go below the --- line.

v4? :)

thanks,

greg k-h