summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorManush Prajwal <manushprajwal555@gmail.com>2026-08-13 16:12:36 +0530
committerNatalie Vock <nat@pixelcluster.dev>2026-09-02 12:07:55 +0200
commit23df2e995df85aa1fc7afaeb9a11195b685484bc (patch)
tree500e037e2456ab230dbca2d7f6c2959f70426cae /kernel
parenteb10ac21048b457b0af1f8167911e4978de209e9 (diff)
downloadlinux-next-23df2e995df85aa1fc7afaeb9a11195b685484bc.tar.gz
linux-next-23df2e995df85aa1fc7afaeb9a11195b685484bc.zip
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 <manushprajwal555@gmail.com> Reviewed-by: Natalie Vock <nat@pixelcluster.dev> Signed-off-by: Natalie Vock <nat@pixelcluster.dev> Link: https://patch.msgid.link/20260813104236.1532-1-manushprajwal555@gmail.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cgroup/dmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup/dmem.c b/kernel/cgroup/dmem.c
index 4683f3d68022..47a41646de4b 100644
--- a/kernel/cgroup/dmem.c
+++ b/kernel/cgroup/dmem.c
@@ -28,7 +28,7 @@ DEFINE_STATIC_SRCU(dmemcg_srcu);
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;
@@ -696,7 +696,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.