diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2023-01-27 14:52:41 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-30 14:40:50 +0100 |
commit | fe8973a3ad0905cb9ba2d42db42ed51de14737df (patch) | |
tree | 3b8f426c009305ce6f182eef56bb32ba4ab609bb /net/9p | |
parent | s390: workaround invalid gcc-11 out of bounds read warning (diff) | |
download | linux-fe8973a3ad0905cb9ba2d42db42ed51de14737df.tar.xz linux-fe8973a3ad0905cb9ba2d42db42ed51de14737df.zip |
watchdog: diag288_wdt: do not use stack buffers for hardware data
With CONFIG_VMAP_STACK=y the stack is allocated from the vmalloc space.
Data passed to a hardware or a hypervisor interface that
requires V=R can no longer be allocated on the stack.
Use kmalloc() to get memory for a diag288 command.
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions