[PATCH] ps3: Fix trivial typos in comment and debug message

Subsystems: ps3 platform support, the rest

STALE4200d

2 messages, 2 authors, 2015-03-09 · open the first message on its own page

[PATCH] ps3: Fix trivial typos in comment and debug message

From: Yannick Guerrini <hidden>
Date: 2015-03-07 12:19:39

Change 'prosessor' to 'processor'
Change 'set_inteval' to 'set_interval'

Signed-off-by: Yannick Guerrini <redacted>
---
 drivers/ps3/ps3-lpm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index b139b77..cb7d3a6 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -105,7 +105,7 @@ struct ps3_lpm_shadow_regs {
  * @open: An atomic variable indicating the lpm driver has been opened.
  * @rights: The lpm rigths granted by the system policy module.  A logical
  *  OR of enum ps3_lpm_rights.
- * @node_id: The node id of a BE prosessor whose performance monitor this
+ * @node_id: The node id of a BE processor whose performance monitor this
  *  lpar has the right to use.
  * @pu_id: The lv1 id of the logical PU.
  * @lpm_id: The lv1 id of this lpm instance.
@@ -412,7 +412,7 @@ u32 ps3_read_pm(u32 cpu, enum pm_reg_name reg)
 		result = lv1_set_lpm_interval(lpm_priv->lpm_id, 0, 0, &val);
 		if (result) {
 			val = 0;
-			dev_dbg(sbd_core(), "%s:%u: lv1 set_inteval failed: "
+			dev_dbg(sbd_core(), "%s:%u: lv1 set_interval failed: "
 				"reg %u, %s\n", __func__, __LINE__, reg,
 				ps3_result(result));
 		}
-- 
1.9.5.msysgit.0

Re: [PATCH] ps3: Fix trivial typos in comment and debug message

From: Geoff Levand <geoff@infradead.org>
Date: 2015-03-09 19:23:37

On Sat, 2015-03-07 at 13:03 +0100, Yannick Guerrini wrote:
Change 'prosessor' to 'processor'
Change 'set_inteval' to 'set_interval'

Signed-off-by: Yannick Guerrini <redacted>
---
 drivers/ps3/ps3-lpm.c | 4 ++--
Looks good.  Thanks for the fixes.

Acked-by: Geoff Levand <geoff@infradead.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help