s390/diag: add missing virt_to_phys() translation to diag14()
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 25 Jan 2024 09:48:58 +0000 (10:48 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 9 Feb 2024 12:58:14 +0000 (13:58 +0100)
commiteec561024b3e733ba4ed3515ba81b45f5e647d0d
treed7665620e2b489b651c2bd2c6ce5fb7bf78b0e21
parent0ad92cbd5a55df4cf4610a9124b24e3f74b1ac50
s390/diag: add missing virt_to_phys() translation to diag14()

diag14() is currently only used by the vmur device driver.  The third
parameter, called subcommand, determines the type of the first
parameter. For some subcommands the value of the first parameter is an
address to a memory buffer and needs virtual to physical address
conversion. Other subcommands interpret the first parameter is an
integer.
This doesn't fix a bug since virtual and physical addresses
are currently the same.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/diag.c