Skip to contentSkip to conversation

MIPS: c-r4k: Fix typo in probe_scache()

PATCH In review Joshua Kinard 2 participants 3 messages Jun 2, 2015 – Jun 3, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: c-r4k: Fix typo in probe_scache()

From: Joshua Kinard <[email protected]>

Fixes a typo in arch/mips/mm/c-r4k.c's probe_scache().

---
 arch/mips/mm/c-r4k.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

linux-mips-fix-probe_scache-typo.patch

arch/mips/mm/c-r4k.c +1 -1
index 0dbb65a..2e03ab1 100644
@@ -1372,7 +1372,7 @@ static int probe_scache(void)
 	scache_size = addr;
 	c->scache.linesz = 16 << ((config & R4K_CONF_SB) >> 22);
 	c->scache.ways = 1;
-	c->dcache.waybit = 0;		/* does not matter */
+	c->scache.waybit = 0;		/* does not matter */
 
 	return 1;
 }
#1 lore raw
Quoted 3 lines · Joshua Kinard

From: Joshua Kinard <[email protected]>

Fixes a typo in arch/mips/mm/c-r4k.c's probe_scache().

Wow, this one must be very, very antique.

Thanks!

Ralf

#2 lore raw
Quoted 7 lines · Ralf Baechle
Quoted 3 lines · Joshua Kinard

From: Joshua Kinard <[email protected]>

Fixes a typo in arch/mips/mm/c-r4k.c's probe_scache().

Wow, this one must be very, very antique.

And now also applied.

Ralf