[PATCH v3 02/11] iommufd: Rename _iommufd_object_alloc to iommufd_object_alloc_elm
Jason Gunthorpe
jgg at nvidia.com
Thu Oct 17 09:35:07 PDT 2024
On Thu, Oct 17, 2024 at 09:12:03AM -0700, Nicolin Chen wrote:
> > Then you can keep the pattern of _ being the allocation function of
> > the macro
>
> If I get it correctly, the change would be
> [From]
> level-0: iommufd_object_alloc()
> level-1: __iommufd_object_alloc()
> level-2: _iommufd_object_alloc()
> [To]
> level-0: iommufd_object_alloc()
> level-1: iommufd_object_alloc_elm()
> level-2: _iommufd_object_alloc()
>
> i.e. change the level-1 only.
You could also call it _iommufd_object_alloc_elm() to keep the pattern
Maymbe "member" is a better word here than elm
Jason
More information about the linux-arm-kernel
mailing list