Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0baae41e authored by Scotty Bauer's avatar Scotty Bauer Committed by Linus Torvalds
Browse files

kernel/sys.c: compat sysinfo syscall: fix undefined behavior



Fix undefined behavior and compiler warning by replacing right shift 32
with upper_32_bits macro

Signed-off-by: default avatarScotty Bauer <sbauer@eng.utah.edu>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ec94fc3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment