Skip to contentSkip to conversation

cgroup/dmem: fix comment typos in dmem.c

PATCH In review Manush Prajwal 2 participants 2 messages Aug 13 – Sep 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 kernel/cgroup/dmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cgroup/dmem.c +2 -2
index 4753a67d0f..342ea5324e 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 5 lines · Manush Prajwal

Fix "succesful" -> "successful" (x2) in the kernel-doc for dmem_cgroup_region::ref and dmem_cgroup_try_charge(). No functional change.

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
index 4753a67d0f..342ea5324e 100644
@@ -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.