Skip to contentSkip to conversation

csky: fixup compile error with CPU 810.

PATCH New [email protected] 1 participant 1 message Jan 10, 2019

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH v2 1/1 csky: fixup compile error with CPU 810.

From: Guo Ren <[email protected]>

This bug is from commit f553aa1c13cb:
"csky: fixup relocation error with 807 & 860".

I forgot to compile with 810 for that patch.

Cc Arnd Bergmann <[email protected]>
Cc Linus Torvalds <[email protected]>
---
 arch/csky/kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/csky/kernel/module.c +1 -1
index 0b028ee..b5ad7d9 100644
@@ -28,7 +28,7 @@
 
 static void jsri_2_lrw_jsr(uint32_t *location)
 {
-	uint16_t location_tmp = (uint16_t *)location;
+	uint16_t *location_tmp = (uint16_t *)location;
 
 	if (IS_BSR32(*location_tmp, *(location_tmp + 1)))
 		return;
Signature · 1 line
2.7.4