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

From: Srivatsa Vaddagiri
Date: Tue Feb 21 2023 - 08:08:25 EST


* Elliot Berman <quic_eberman@xxxxxxxxxxx> [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);