OSDN Git Service

cifs: don't use __constant_cpu_to_le32()
authorSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Thu, 14 Mar 2019 06:17:16 +0000 (15:17 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:54 +0000 (23:24 -0500)
commitf5307104e7575b3fb577981b40e466e90fab3392
treec4e7fb1932d3c7b936583d6f296d0978ec113e00
parent433b8dd7672be1140ffbb17eacba776298bf4733
cifs: don't use __constant_cpu_to_le32()

A trivial patch.

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().

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2status.h