commit | 4dbdd947cb7f5534bedfdd1dbf983d0c0d9def29 | [log] [tgz] |
---|---|---|
author | Sandipan Das <[email protected]> | Thu Jun 04 16:51:51 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Thu Jun 04 19:06:26 2020 -0700 |
tree | 96ecc5b0fdb53f847d41c2e35a516f2342ea39ec | |
parent | a09160e694ccd822365da28f9e5f94d22a6784b0 [diff] |
selftests: vm: pkeys: Use sane types for pkey register The size of the pkey register can vary across architectures. This converts the data type of all its references to u64 in preparation for multi-arch support. To keep the definition of the u64 type consistent and remove format specifier related warnings, __SANE_USERSPACE_TYPES__ is defined as suggested by Michael Ellerman. Signed-off-by: Sandipan Das <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Dave Hansen <[email protected]> Cc: "Desnes A. Nunes do Rosario" <[email protected]> Cc: Florian Weimer <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ram Pai <[email protected]> Cc: Thiago Jung Bauermann <[email protected]> Cc: "Aneesh Kumar K.V" <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Michal Suchanek <[email protected]> Cc: Shuah Khan <[email protected]> Link: http://lkml.kernel.org/r/d3e271798455d940e395e56e1ff1e82a31bcb7aa.1585646528.git.sandipan@linux.ibm.com Signed-off-by: Linus Torvalds <[email protected]>