diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-03-01 18:03:47 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-03-01 18:23:56 +0300 |
commit | 9fe567d09f0f061b7776859fb01c31f89044578f (patch) | |
tree | dfe76bc42ab89ce73faf427d718704e8b4cc2856 /drivers/hwspinlock | |
parent | c8e8ed386a5191d8011d32b5663da10320e7d552 (diff) | |
download | linux-9fe567d09f0f061b7776859fb01c31f89044578f.tar.xz |
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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions