Skip to contentSkip to conversation

blk-cgroup: Fix typo in comment

PATCH In review Kemeng Shi 2 participants 3 messages Oct 13, 2022 – Nov 23, 2022

Subsystems (3)
lore
Share & tools
lore

Kemeng Shi

author
#0 lore raw

PATCH v2 1/1 blk-cgroup: Fix typo in comment

Replace assocating with associating.
Replace intiailized with initialized.

---
Changes in v2:
-based on current mainline code
-add acked-by

 block/blk-cgroup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-cgroup.c +2 -2
index 6a5c849ee061..4c4bc874bd95 100644
@@ -577,7 +577,7 @@ EXPORT_SYMBOL_GPL(blkcg_print_blkgs);
  * @pd: policy private data of interest
  * @v: value to print
  *
- * Print @v to @sf for the device assocaited with @pd.
+ * Print @v to @sf for the device associated with @pd.
  */
 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v)
 {
@@ -765,7 +765,7 @@ EXPORT_SYMBOL_GPL(blkg_conf_prep);
 
 /**
  * blkg_conf_finish - finish up per-blkg config update
- * @ctx: blkg_conf_ctx intiailized by blkg_conf_prep()
+ * @ctx: blkg_conf_ctx initialized by blkg_conf_prep()
  *
  * Finish up after per-blkg config update.  This function must be paired
  * with blkg_conf_prep().
Signature · 1 line
2.30.0
Reviewed-by on v2 1/1
#1 lore raw

Hi,

Quoted 27 lines · Kemeng Shi

Replace assocating with associating.
Replace intiailized with initialized.

---
Changes in v2:
-based on current mainline code
-add acked-by

  block/blk-cgroup.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-cgroup.c +1 -1
index 6a5c849ee061..4c4bc874bd95 100644
@@ -577,7 +577,7 @@ EXPORT_SYMBOL_GPL(blkcg_print_blkgs);
   * @pd: policy private data of interest
   * @v: value to print
   *
- * Print @v to @sf for the device assocaited with @pd.
+ * Print @v to @sf for the device associated with @pd.
   */
  u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v)
  {

block/blk-cgroup.c EXPORT_SYMBOL_GPL(blkg_conf_prep); · line 771

Quoted 8 lines
block/blk-cgroup.c +1 -1
@@ -765,7 +765,7 @@ EXPORT_SYMBOL_GPL(blkg_conf_prep);
 
  /**
   * blkg_conf_finish - finish up per-blkg config update
- * @ctx: blkg_conf_ctx intiailized by blkg_conf_prep()
+ * @ctx: blkg_conf_ctx initialized by blkg_conf_prep()
   *
   * Finish up after per-blkg config update.  This function must be paired
   * with blkg_conf_prep().

LGTM.

-Mukesh

author
#2 lore raw
In reply to Kemeng Shi

Friendly ping

Quoted 36 lines · Kemeng Shi

Replace assocating with associating.
Replace intiailized with initialized.

---
Changes in v2:
-based on current mainline code
-add acked-by

 block/blk-cgroup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-cgroup.c +2 -2
index 6a5c849ee061..4c4bc874bd95 100644
@@ -577,7 +577,7 @@ EXPORT_SYMBOL_GPL(blkcg_print_blkgs);
  * @pd: policy private data of interest
  * @v: value to print
  *
- * Print @v to @sf for the device assocaited with @pd.
+ * Print @v to @sf for the device associated with @pd.
  */
 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v)
 {
@@ -765,7 +765,7 @@ EXPORT_SYMBOL_GPL(blkg_conf_prep);
 
 /**
  * blkg_conf_finish - finish up per-blkg config update
- * @ctx: blkg_conf_ctx intiailized by blkg_conf_prep()
+ * @ctx: blkg_conf_ctx initialized by blkg_conf_prep()
  *
  * Finish up after per-blkg config update.  This function must be paired
  * with blkg_conf_prep().
Signature · 2 lines
Best wishes
Kemeng Shi