[PATCH v5 02/29] iommufd: Introduce iommufd_object_alloc_ucmd helper

Nicolin Chen nicolinc at nvidia.com
Fri May 23 14:17:31 PDT 2025


On Fri, May 23, 2025 at 07:46:13AM +0000, Tian, Kevin wrote:
> > From: Nicolin Chen <nicolinc at nvidia.com>
> > Sent: Sunday, May 18, 2025 11:21 AM
> > 
> > @@ -135,6 +135,7 @@ struct iommufd_ucmd {
> >  	void __user *ubuffer;
> >  	u32 user_size;
> >  	void *cmd;
> > +	struct iommufd_object *new_obj;
> 
> Could just be called as 'obj'. but not a strong preference.

Jason named it "alloced_obj" to clarify the purpose, I believe.
I picked a shorter "new_obj" while keeping its purpose. I think
I will keep it in this way.

Thanks
Nicolin



More information about the linux-arm-kernel mailing list