[PATCH] selftests/powerpc: Remove unneeded variable

2023-06-14 Thread wuyonggang001
Fix the following coccicheck warning: tools/testing/selftests/powerpc/alignment/alignment_handler.c:558:5-7: Unneeded variable: "rc". Return "0" Signed-off-by: Yonggang Wu --- .../powerpc/alignment/alignment_handler.c | 24 +-- 1 file changed, 12 insertions(+), 12 deletio

[PATCH] powerpc/xmon: Fix comparing pointer

2023-06-13 Thread wuyonggang001
Fix the following coccicheck warning: arch/powerpc/xmon/spu-dis.c:51:34-35: WARNING comparing pointer to 0 Signed-off-by: Yonggang Wu --- arch/powerpc/xmon/spu-dis.c | 384 ++-- 1 file changed, 193 insertions(+), 191 deletions(-) diff --git a/arch/powerpc/xmon/

[PATCH] powerpc/xmon: Fix comparing pointer

2023-06-12 Thread wuyonggang001
Fix the following coccicheck warning: arch/powerpc/xmon/spu-dis.c:51:34-35: WARNING comparing pointer to 0 Signed-off-by: Yonggang Wu --- arch/powerpc/xmon/spu-dis.c | 384 ++-- 1 file changed, 193 insertions(+), 191 deletions(-) diff --git a/arch/powerpc/xmon