summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-12-13 19:16:38 +0100
committerHeiko Carstens <hca@linux.ibm.com>2021-12-16 19:58:07 +0100
commit15b5c1833afc80b952383502eb06529db2b26219 (patch)
treeebbbdfe1f1927647d2b06cf20dca6455624b7f5e /drivers/s390
parentfcfcba6dfc9a57da9c816667c20614ddfd4def10 (diff)
s390/uv: fix memblock virtual vs physical address confusion
memblock_alloc_try_nid() returns a virtual address, however in error case the allocated memory is incorrectly freed with memblock_phys_free(). Properly use memblock_free() instead, and pass a physical address to uv_init() to fix this. Note: this doesn't fix a bug currently, since virtual and physical addresses are identical. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions