From mboxrd@z Thu Jan 1 00:00:00 1970 From: guoren@kernel.org Subject: [PATCH V2] csky: fixup compile error with CPU 810. Date: Thu, 10 Jan 2019 20:28:39 +0800 Message-ID: <1547123319-15224-1-git-send-email-guoren@kernel.org> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: torvalds@linux-foundation.org, arnd@arndb.de, guoren@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Guo Ren List-Id: linux-arch.vger.kernel.org From: Guo Ren 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 Cc: Arnd Bergmann Cc: Linus Torvalds --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:45016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727579AbfAJM2x (ORCPT ); Thu, 10 Jan 2019 07:28:53 -0500 From: guoren@kernel.org Subject: [PATCH V2] csky: fixup compile error with CPU 810. Date: Thu, 10 Jan 2019 20:28:39 +0800 Message-ID: <1547123319-15224-1-git-send-email-guoren@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: torvalds@linux-foundation.org, arnd@arndb.de, guoren@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Guo Ren Message-ID: <20190110122839.JdlE9xHd6BULrX-mQNfFVjFzO2-IlAxYdFtNz_Ua9AI@z> From: Guo Ren 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 Cc: Arnd Bergmann Cc: Linus Torvalds --- 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