[PATCH] KVM: PPC: Book3S HV nestedv2: Fix an error handling path in gs_msg_ops_kvmhv_nestedv2_config_fill_info()
Vaibhav Jain
vaibhav at linux.ibm.com
Mon Jan 29 16:43:50 AEDT 2024
Christophe JAILLET <christophe.jaillet at wanadoo.fr> writes:
<snip>
> if (kvmppc_gsm_includes(gsm, KVMPPC_GSID_RUN_OUTPUT)) {
> - kvmppc_gse_put_buff_info(gsb, KVMPPC_GSID_RUN_OUTPUT,
> - cfg->vcpu_run_output_cfg);
> + rc = kvmppc_gse_put_buff_info(gsb, KVMPPC_GSID_RUN_OUTPUT,
> + cfg->vcpu_run_output_cfg);
> if (rc < 0)
> return rc;
> }
> --
Thanks for catching this and the change looks good to me.
Reviewed-by: Vaibhav Jain <vaibhav at linux.ibm.com>
--
Cheers
~ Vaibhav
More information about the Linuxppc-dev
mailing list