mirror of
https://github.com/torvalds/linux.git
synced 2024-12-07 19:41:31 +00:00
a41f505e9f
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> |
||
---|---|---|
.. | ||
diag.c | ||
gaccess.c | ||
gaccess.h | ||
guestdbg.c | ||
intercept.c | ||
interrupt.c | ||
Kconfig | ||
kvm-s390.c | ||
kvm-s390.h | ||
Makefile | ||
pci.c | ||
pci.h | ||
priv.c | ||
pv.c | ||
sigp.c | ||
trace-s390.h | ||
trace.h | ||
vsie.c |