diff options
author | Janis Schoetterl-Glausch <scgl@linux.ibm.com> | 2023-02-06 17:45:55 +0100 |
---|---|---|
committer | Janosch Frank <frankja@linux.ibm.com> | 2023-02-07 18:05:59 +0100 |
commit | dc55ceaef616bdac73810d6588c23a5b50d24911 (patch) | |
tree | 3b7ce7974429ffdc5d2d6d398844d9e2be210c90 /tools/testing/selftests/net/tun.c | |
parent | 12c12a9924b475d6a20760f992fbf5e080747ae3 (diff) |
KVM: s390: selftest: memop: Fix integer literal
The address is a 64 bit value, specifying a 32 bit value can crash the
guest. In this case things worked out with -O2 but not -O0.
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Fixes: 1bb873495a9e ("KVM: s390: selftests: Add more copy memop tests")
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20230206164602.138068-8-scgl@linux.ibm.com
Message-Id: <20230206164602.138068-8-scgl@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/net/tun.c')
0 files changed, 0 insertions, 0 deletions