riscv: fix typo in init.c
PATCH 1/1 riscv: fix typo in init.c
Commit 010623568222 introduced a typo in "__initdata" spelling which led to build breakage for XIP. Fix that.
--- arch/riscv/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/mm/init.c +1 -1
@@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;#endif #ifdef CONFIG_XIP_KERNEL -static uintptr_t xiprom __inidata; +static uintptr_t xiprom__initdata ;static uintptr_t xiprom_sz__initdata ;#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))
Signature · 7 lines
2.29.2 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 2 lines · On Sun, 30 May 2021 16:22:17 +0300 Vitaly Wool <[email protected]> wrote:
Commit 010623568222 introduced a typo in "
__initdata" spelling which led to build breakage for XIP. Fix that.
oops, nice catch! Sorry for that.
Quoted 2 lines
Fixes 010623568222bd144eb73aa9f3b46c79b63d7676
This "Fixes" tag seems not correct.Should be
After this change,
Quoted 10 lines
Signed-off-by Vitaly Wool <[email protected]>--- arch/riscv/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/mm/init.c +0
-0
arch/riscv/mm/init.c static uintptr_t load_sz __initdata; · line 457
Quoted 8 lines
arch/riscv/mm/init.c +1
-1@@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;#endif #ifdef CONFIG_XIP_KERNEL -static uintptr_t xiprom __inidata; +static uintptr_t xiprom__initdata ;static uintptr_t xiprom_sz__initdata ;#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 8 lines · On Mon, 31 May 2021 08:11:40 +0800 Jisheng Zhang <[email protected]>…
Quoted 2 lines · On Sun, 30 May 2021 16:22:17 +0300 Vitaly Wool <[email protected]> wrote:
Commit 010623568222 introduced a typo in "
__initdata" spelling which led to build breakage for XIP. Fix that.
Quoted 7 lines
oops, nice catch! Sorry for that.
Quoted 2 lines
Fixes 010623568222bd144eb73aa9f3b46c79b63d7676This "Fixes" tag seems not correct.Should be
Fixes 010623568222 ("riscv: mm: init: Consolidate vars, functions")
Hi Vitaly,
Could you plz send a v2 for this?
Regards
Quoted 16 lines
After this change,
Reviewed-by Jisheng Zhang <[email protected]>Quoted 12 lines
Signed-off-by Vitaly Wool <[email protected]>--- arch/riscv/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/mm/init.c +0
-0@@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;#endif
Quoted 13 lines
arch/riscv/mm/init.c static uintptr_t load_sz __initdata; · line 457
Quoted 6 lines
arch/riscv/mm/init.c +1
-1#ifdef CONFIG_XIP_KERNEL -static uintptr_t xiprom __inidata; +static uintptr_t xiprom__initdata ;static uintptr_t xiprom_sz__initdata ;#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))_______________________________________________
linux-riscv mailing list
[email protected]
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv