]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: sync: Fix cast warnings on arm
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 23 Oct 2019 04:58:16 +0000 (13:58 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 7 Nov 2019 21:54:37 +0000 (14:54 -0700)
commit3091d401dd26d38a2ae0c2232df611c8c23f63f0
tree79da0b10572f9ccae981417140214ce7a79b78c5
parent863ed38e2169b8d7b812f849071f6afe9e901ef1
selftests: sync: Fix cast warnings on arm

Fix warnings on __u64 and pointer translation on arm and
other 32bit architectures. Since the pointer is 32bits on
those archs, we should not directly cast those types.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/sync/sync.c