commit | 9fe567d09f0f061b7776859fb01c31f89044578f | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Mar 01 16:03:47 2019 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Mar 01 16:23:56 2019 +0100 |
tree | dfe76bc42ab89ce73faf427d718704e8b4cc2856 | |
parent | c8e8ed386a5191d8011d32b5663da10320e7d552 [diff] |
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>