goldfish: Use dedicated macros instead of manual bit shifting
authorRoman Kiryanov <rkir@google.com>
Mon, 23 Jul 2018 22:47:27 +0000 (15:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 08:24:51 +0000 (10:24 +0200)
commit68275680ea12e9f378e51ff525dacbb76f006764
treec7a9aec7e79a3af518b485eaf7ce370aacf040fd
parent72755eed6c1c5312425ad3d78bf0b916769e6125
goldfish: Use dedicated macros instead of manual bit shifting

There are dedicated macros (lower_32_bits and upper_32_bits)
available to extract the lower and upper 32 bits. They provide
better readability and could prevent some compilation warnings.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/goldfish.h