diff options
author | Qing Zhang <zhangqing@loongson.cn> | 2022-08-06 15:19:32 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-12 13:10:10 +0800 |
commit | 5e8be07ca8f7f49d49c6d5d44f69caaa2fa4b660 (patch) | |
tree | 1059f87b03be724b02353a65150d096c7e3a37a9 /lib/test_static_keys.c | |
parent | aafcac81b0e3f0d7383a78c6249e90e166ac8e6d (diff) |
LoongArch: Requires __force attributes for any casts
This fix a warning when "make C=2":
arch/loongarch/kernel/ptrace.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/ptrace.h, include/linux/audit.h):
./arch/loongarch/include/asm/uaccess.h:232:32: warning: incorrect type in argument 2 (different address spaces)
./arch/loongarch/include/asm/uaccess.h:232:32: expected void const *from
./arch/loongarch/include/asm/uaccess.h:232:32: got void const [noderef] __user *from
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions