[PATCH v10 19/26] gunyah: vm_mgr: Add framework to add VM Functions

Srivatsa Vaddagiri quic_svaddagi at quicinc.com
Tue Feb 21 05:07:59 PST 2023


* Elliot Berman <quic_eberman at quicinc.com> [2023-02-14 13:25:30]:

> +int __must_check gh_vm_get(struct gh_vm *ghvm)

Minor comment: 

get_gh_rm vs gh_vm_get -> can follow some consistent convention I think.

Perhaps get_gh_vm()?


> +{
> +	return kref_get_unless_zero(&ghvm->kref);
> +}
> +EXPORT_SYMBOL_GPL(gh_vm_get);



More information about the linux-arm-kernel mailing list