lkml.org 
[lkml]   [2019]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATHv3] staging: rtl8723bs: do not use __constant_cpu_to_le16
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@gmail.com>
> ---
> 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

\
 
 \ /
  Last update: 2019-03-17 16:37    [W:0.021 / U:10.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site