Generic Linux architectural discussions
 help / color / mirror / Atom feed
* [PATCH] csky: fixup compile error with CPU 810.
@ 2019-01-10 11:54 guoren
  2019-01-10 11:54 ` guoren
  0 siblings, 1 reply; 2+ messages in thread
From: guoren @ 2019-01-10 11:54 UTC (permalink / raw)
  To: arnd, guoren; +Cc: linux-kernel, linux-arch, Guo Ren

From: Guo Ren <ren_guo@c-sky.com>

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

I forgot to compile with 810 for that patch.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
---
 arch/csky/kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c
index 0b028ee..b5ad7d9 100644
--- a/arch/csky/kernel/module.c
+++ b/arch/csky/kernel/module.c
@@ -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;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] csky: fixup compile error with CPU 810.
  2019-01-10 11:54 [PATCH] csky: fixup compile error with CPU 810 guoren
@ 2019-01-10 11:54 ` guoren
  0 siblings, 0 replies; 2+ messages in thread
From: guoren @ 2019-01-10 11:54 UTC (permalink / raw)
  To: arnd, guoren; +Cc: linux-kernel, linux-arch, Guo Ren

From: Guo Ren <ren_guo@c-sky.com>

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

I forgot to compile with 810 for that patch.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
---
 arch/csky/kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c
index 0b028ee..b5ad7d9 100644
--- a/arch/csky/kernel/module.c
+++ b/arch/csky/kernel/module.c
@@ -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;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-10 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 11:54 [PATCH] csky: fixup compile error with CPU 810 guoren
2019-01-10 11:54 ` guoren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox