Skip to content
Commit 9fe567d0 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/dasd: fix read device characteristic with CONFIG_VMAP_STACK=y



The dasd_eckd_restore_device() function calls dasd_generic_read_dev_chars
with a temporary buffer on the stack. With CONFIG_VMAP_STACK=y this is
a vmalloc address but dasd_generic_restore_device() uses the address of
the buffer as I/O address. Circumvent this by using the already allocated
cqr->data buffer for the RDC data.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c8e8ed38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment