+3
−0
+3
−0
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9SOCR --------------------------- Fix three false positive warning options for Bisheng Clang. Exclude -Walign-mismatch for: block/blk-mq.c:767:51: warning: passing 8-byte aligned argument to 32-byte aligned parameter 2 of 'smp_call_function_single_async' may result in an unaligned pointer access [-Walign-mismatch] smp_call_function_single_async(rq->mq_ctx->cpu, &rq->csd); ^ Exclude -Wbitwise-instead-of-logical for: fs/namei.c:2053:13: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] } while (!(has_zero(a, &adata, &constants) | has_zero(b, &bdata,... ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || fs/namei.c:2053:13: note: cast one or both operands to int to silence this warning Exclude -Wmacro-redefined for: ./arch/arm64/include/asm/elf.h:218:9: warning: 'COMPAT_ARCH_DLINFO' macro redefined [-Wmacro-redefined] #define COMPAT_ARCH_DLINFO \ ^ arch/arm64/kernel/binfmt_elf32.c:22:9: note: previous definition is here #define COMPAT_ARCH_DLINFO Signed-off-by:Chen Zhongjin <chenzhongjin@huawei.com>