cgroup/dmem: fix comment typos in dmem.c
Subsystems (2)
PATCH 1/1 cgroup/dmem: fix comment typos in dmem.c
Fix "succesful" -> "successful" (x2) in the kernel-doc for dmem_cgroup_region::ref and dmem_cgroup_try_charge(). No functional change.
Signed-off-by Manush Prajwal <[email protected]>
--- kernel/cgroup/dmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cgroup/dmem.c +2 -2
@@ -21,7 +21,7 @@struct dmem_cgroup_region {/** * @ref: References keeping the region alive. -* Keeps the region reference alive after a succesful RCU lookup. +* Keeps the region reference alive after a successful RCU lookup. */ struct kref ref;
@@ -634,7 +634,7 @@ EXPORT_SYMBOL_GPL(dmem_cgroup_uncharge);* dmem_cgroup_try_charge() - Try charging a new allocation to a region. * @region: dmem region to charge * @size: Size (in bytes) to charge. -* @ret_pool: On succesfull allocation, the pool that is charged. +* @ret_pool: On successful allocation, the pool that is charged. * @ret_limit_pool: On a failed allocation, the limiting pool. * * This function charges the @region region for a size of @size bytes.
Signature · 1 line
2.46.2.windows.1
Hi,
Quoted 5 lines · Manush Prajwal
Fix "succesful" -> "successful" (x2) in the kernel-doc for
dmem_cgroup_region::refanddmem_cgroup_try_charge(). No functional change.Signed-off-by Manush Prajwal <[email protected]>
Reviewed-by Natalie Vock <[email protected]>
and applied to drm-misc-next. Thank you!
Best,
Natalie
Quoted 26 lines
--- kernel/cgroup/dmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)kernel/cgroup/dmem.c +2
-2@@ -21,7 +21,7 @@struct dmem_cgroup_region {/** * @ref: References keeping the region alive. -* Keeps the region reference alive after a succesful RCU lookup. +* Keeps the region reference alive after a successful RCU lookup. */ struct kref ref;@@ -634,7 +634,7 @@ EXPORT_SYMBOL_GPL(dmem_cgroup_uncharge);* dmem_cgroup_try_charge() - Try charging a new allocation to a region. * @region: dmem region to charge * @size: Size (in bytes) to charge. -* @ret_pool: On succesfull allocation, the pool that is charged. +* @ret_pool: On successful allocation, the pool that is charged. * @ret_limit_pool: On a failed allocation, the limiting pool. * * This function charges the @region region for a size of @size bytes.