[PATCH] treewide: avoid the ponter addition with NULL pointer

2021-02-22 Thread sz18665958617
From: "dean.yang_cp" Signed-off-by: dean.yang_cp --- arch/arc/kernel/unwind.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 74ad425..47bab67 100644 --- a/arch/arc/kernel/unwind.c +++ b/

[PATCH] ARC: Enable automatic support for newer ARC ISA variants (ARCv3)

2021-02-22 Thread Vineet Gupta
The syscall TRAP instruction used to be 4 bytes on legacy ARCompact based ARC700 cores. Since then ARCv2 (circa 2014) and the upcoming ARCv3 use the same 2-byte TRAP_S instruction. To ease porting of software to new ISA, special case ARC700. This is the only change needed to get strace working on

Re: [PATCH] treewide: avoid the ponter addition with NULL pointer

2021-02-22 Thread Vineet Gupta
On 2/22/21 6:00 PM, sz18665958...@163.com wrote: > From: "dean.yang_cp" > > Signed-off-by: dean.yang_cp LGTM. Acked-by: Vineet Gupta Thx, -Vineet > --- > arch/arc/kernel/unwind.c | 27 ++- > 1 file changed, 14 insertions(+), 13 deletions(-) > > diff --git a/arch/ar