Skip to contentSkip to conversation

clocksource/drivers: fix typo in timer-pistachio

PATCH Applied Drew Fustini 2 participants 2 messages Mar 5, 2021 – Apr 9, 2021 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource/drivers: fix typo in timer-pistachio

Fix trivial typo, rename local variable from 'overflw' to 'overflow' in pistachio_clocksource_read_cycles().

---
 drivers/clocksource/timer-pistachio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clocksource/timer-pistachio.c +2 -2
index a2dd85d0c1d7..6f37181a8c63 100644
@@ -71,7 +71,7 @@ static u64 notrace
 pistachio_clocksource_read_cycles(struct clocksource *cs)
 {
 	struct pistachio_clocksource *pcs = to_pistachio_clocksource(cs);
-	u32 counter, overflw;
+	u32 counter, overflow;
 	unsigned long flags;
 
 	/*
@@ -80,7 +80,7 @@ pistachio_clocksource_read_cycles(struct clocksource *cs)
 	 */
 
 	raw_spin_lock_irqsave(&pcs->lock, flags);
-	overflw = gpt_readl(pcs->base, TIMER_CURRENT_OVERFLOW_VALUE, 0);
+	overflow = gpt_readl(pcs->base, TIMER_CURRENT_OVERFLOW_VALUE, 0);
 	counter = gpt_readl(pcs->base, TIMER_CURRENT_VALUE, 0);
 	raw_spin_unlock_irqrestore(&pcs->lock, flags);
 
Signature · 1 line
2.27.0
merge bot Applied
#1 lore raw

[tip: timers/core] clocksource/drivers/pistachio: Fix trivial typo

The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     a47d7ef4550d08fb428ea4c3f1a9c71674212208
Gitweb:        https://git.kernel.org/tip/a47d7ef4550d08fb428ea4c3f1a9c71674212208
Author:        Drew Fustini <[email protected]>
AuthorDate:    Fri, 05 Mar 2021 01:03:17 -08:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Thu, 08 Apr 2021 13:24:15 +02:00

clocksource/drivers/pistachio: Fix trivial typo

Fix trivial typo, rename local variable from 'overflw' to 'overflow' in pistachio_clocksource_read_cycles().

---
 drivers/clocksource/timer-pistachio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clocksource/timer-pistachio.c +2 -2
index a2dd85d..6f37181 100644
@@ -71,7 +71,7 @@ static u64 notrace
 pistachio_clocksource_read_cycles(struct clocksource *cs)
 {
 	struct pistachio_clocksource *pcs = to_pistachio_clocksource(cs);
-	u32 counter, overflw;
+	u32 counter, overflow;
 	unsigned long flags;
 
 	/*
@@ -80,7 +80,7 @@ pistachio_clocksource_read_cycles(struct clocksource *cs)
 	 */
 
 	raw_spin_lock_irqsave(&pcs->lock, flags);
-	overflw = gpt_readl(pcs->base, TIMER_CURRENT_OVERFLOW_VALUE, 0);
+	overflow = gpt_readl(pcs->base, TIMER_CURRENT_OVERFLOW_VALUE, 0);
 	counter = gpt_readl(pcs->base, TIMER_CURRENT_VALUE, 0);
 	raw_spin_unlock_irqrestore(&pcs->lock, flags);