summaryrefslogtreecommitdiff
path: root/include/linux/memory
diff options
context:
space:
mode:
authorRitesh Harjani (IBM) <ritesh.list@gmail.com>2026-11-01 20:58:11 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-11-20 13:25:18 +0530
commitd76620d9e2ce87963b993a44acae7ce1a47eca24 (patch)
tree9bc1634179b255aba3f9a8e2183aeacf5c69f043 /include/linux/memory
parentb8c0f82d60c7d149b271cec9364ffb815866cc80 (diff)
KVM: PPC: Book3S HV: Fix error handling during vcore create
kvmppc_vcore_create() can fail and return NULL, this patch fixes the error handling when this happens. vcore and online_vcores count should only be updated when vcore was actually created, otherwise it's state gets messed up for the VM run. Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20f3d8cc8d5dc36872873cec4c8cb48a68e46354.1793546707.git.ritesh.list@gmail.com
Diffstat (limited to 'include/linux/memory')
0 files changed, 0 insertions, 0 deletions