projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a65f7e
)
clocksource/drivers/pistachio: Fix trivial typo
author
Drew Fustini
<drew@beagleboard.org>
Fri, 5 Mar 2021 09:03:17 +0000
(
01:03
-0800)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Thu, 8 Apr 2021 11:24:15 +0000
(13:24 +0200)
Fix trivial typo, rename local variable from 'overflw' to 'overflow' in
pistachio_clocksource_read_cycles().
Reported-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Drew Fustini <drew@beagleboard.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/20210305090315.384547-1-drew@beagleboard.org
drivers/clocksource/timer-pistachio.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/timer-pistachio.c
b/drivers/clocksource/timer-pistachio.c
index a2dd85d0c1d75471b4061c95c93d30bdeb1e068a..6f37181a8c6330f65fa34d883eb0810b07e25da7 100644
(file)
--- a/
drivers/clocksource/timer-pistachio.c
+++ b/
drivers/clocksource/timer-pistachio.c
@@
-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, overfl
o
w;
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);
+ overfl
o
w = 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);