]> git.baikalelectronics.ru Git - kernel.git/commit
s390/scm_blk: correct numa_node in scm_blk_dev_setup
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 25 Jun 2018 12:30:42 +0000 (14:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:24:48 +0000 (11:24 +0200)
commite0bcdb9862d0c5e578d95dd04d9035862d1641c4
tree6070bb929fabaad4c5839b48bb8f423f2d44ca40
parent84efaeede95501f737b26c46255886e93d5002e6
s390/scm_blk: correct numa_node in scm_blk_dev_setup

The numa_node field of the tag_set struct has to be explicitly
initialized, otherwise it stays as 0, which is a valid numa node id and
cause memory allocation failure if node 0 is offline.

Acked-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/scm_blk.c