[PATCH] treewide: Fix typos in comments

Chhabilal Dangal posted 1 patch 1 month ago
arch/arm/kernel/cpuidle.c      | 2 +-
drivers/base/power/clock_ops.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] treewide: Fix typos in comments
Posted by Chhabilal Dangal 1 month ago
Signed-off-by: Chhabilal Dangal <yogeshdangal66@gmail.com>
---
 arch/arm/kernel/cpuidle.c      | 2 +-
 drivers/base/power/clock_ops.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/cpuidle.c b/arch/arm/kernel/cpuidle.c
index fba1f8bb0..784457ac7 100644
--- a/arch/arm/kernel/cpuidle.c
+++ b/arch/arm/kernel/cpuidle.c
@@ -79,7 +79,7 @@ static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method)
  * cpuidle_ops are tagged __initconst and will be unloaded after the init
  * process.
  *
- * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
+ * Return 0 on success, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
  * no cpuidle_ops is registered for the 'enable-method', or if either init or
  * suspend callback isn't defined.
  */
diff --git a/drivers/base/power/clock_ops.c b/drivers/base/power/clock_ops.c
index 59bb37e82..3b8ba2780 100644
--- a/drivers/base/power/clock_ops.c
+++ b/drivers/base/power/clock_ops.c
@@ -250,7 +250,7 @@ EXPORT_SYMBOL_GPL(pm_clk_add);
  *
  * Add the clock to the list of clocks used for the power management of @dev.
  * The power-management code will take control of the clock reference, so
- * callers should not call clk_put() on @clk after this function sucessfully
+ * callers should not call clk_put() on @clk after this function successfully
  * returned.
  */
 int pm_clk_add_clk(struct device *dev, struct clk *clk)
-- 
2.55.0
Re: [PATCH] treewide: Fix typos in comments
Posted by Greg KH 1 month ago
On Mon, Aug 24, 2026 at 09:16:07AM +0545, Chhabilal Dangal wrote:
> Signed-off-by: Chhabilal Dangal <yogeshdangal66@gmail.com>
> ---
>  arch/arm/kernel/cpuidle.c      | 2 +-
>  drivers/base/power/clock_ops.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Please break patches up into one-per-subsystem, and provide a valid
changelog text.

thanks,

greg k-h