diff options
author | 2023-02-06 17:45:56 +0100 | |
---|---|---|
committer | 2023-02-07 18:05:59 +0100 | |
commit | a41f505e9f7f4e13afb6f0e331f99360a3088af7 (patch) | |
tree | 43cb185adb9e23171bc42d210f418375e1de6985 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: s390: selftest: memop: Fix integer literal (diff) | |
download | wireguard-linux-a41f505e9f7f4e13afb6f0e331f99360a3088af7.tar.xz wireguard-linux-a41f505e9f7f4e13afb6f0e331f99360a3088af7.zip |
KVM: s390: Move common code of mem_op functions into function
The vcpu and vm mem_op ioctl implementations share some functionality.
Move argument checking into a function and call it from both
implementations. This allows code reuse in case of additional future
mem_op operations.
Suggested-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20230206164602.138068-9-scgl@linux.ibm.com
Message-Id: <20230206164602.138068-9-scgl@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions