# git rev-parse -q --verify d04466706db5e241ee026f17b5f920e50dee26b5^{commit} d04466706db5e241ee026f17b5f920e50dee26b5 already have revision, skipping fetch # git checkout -q -f -B kisskb d04466706db5e241ee026f17b5f920e50dee26b5 # git clean -qxdf # < git log -1 # commit d04466706db5e241ee026f17b5f920e50dee26b5 # Author: Stephen Rothwell # Date: Tue Apr 30 17:03:03 2024 +1000 # # Add linux-next specific files for 20240430 # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux-ld --version # < git log --format=%s --max-count=1 d04466706db5e241ee026f17b5f920e50dee26b5 # make -s -j 160 ARCH=arc O=/kisskb/build/linux-next_axs103_smp_defconfig_arc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux- axs103_smp_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 160 ARCH=arc O=/kisskb/build/linux-next_axs103_smp_defconfig_arc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux- help # make -s -j 160 ARCH=arc O=/kisskb/build/linux-next_axs103_smp_defconfig_arc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux- olddefconfig # make -s -j 160 ARCH=arc O=/kisskb/build/linux-next_axs103_smp_defconfig_arc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/arc-linux/bin/arc-linux- /kisskb/src/arch/arc/boot/dts/axc003_idu.dtsi:92.16-97.5: Warning (interrupt_provider): /cpu_card/pct: '#interrupt-cells' found, but node is not an interrupt provider /kisskb/src/arch/arc/boot/dts/axc003_idu.dtsi:109.18-111.5: Warning (interrupt_provider): /axs10x_mb/ethernet@18000: '#interrupt-cells' found, but node is not an interrupt provider also defined at /kisskb/src/arch/arc/boot/dts/axs10x_mb.dtsi:73.24-88.5 arch/arc/boot/dts/axs103_idu.dtb: Warning (interrupt_map): Failed prerequisite 'interrupt_provider' In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/notify/mark.c:63: /kisskb/src/fs/notify/mark.c: In function 'fsnotify_attach_info_to_sb': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct fsnotify_sb_info * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct fsnotify_sb_info *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct fsnotify_sb_info * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct fsnotify_sb_info *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct fsnotify_sb_info *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct fsnotify_sb_info * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct fsnotify_sb_info *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct fsnotify_sb_info * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct fsnotify_sb_info *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct fsnotify_sb_info *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:608:13: note: in expansion of macro 'cmpxchg' 608 | if (cmpxchg(&sb->s_fsnotify_info, NULL, sbinfo)) { | ^~~~~~~ /kisskb/src/fs/notify/mark.c: In function 'fsnotify_attach_connector_to_object': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | fsnotify_connp_t {aka struct fsnotify_mark_connector *} /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | fsnotify_connp_t {aka struct fsnotify_mark_connector *} /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | fsnotify_connp_t {aka struct fsnotify_mark_connector *} /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | fsnotify_connp_t {aka struct fsnotify_mark_connector *} /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'fsnotify_connp_t' {aka 'struct fsnotify_mark_connector *'} from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:634:13: note: in expansion of macro 'cmpxchg' 634 | if (cmpxchg(connp, NULL, conn)) { | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/rcupdate.h:25, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/include/linux/oom.h:6, from /kisskb/src/mm/oom_kill.c:21: /kisskb/src/mm/oom_kill.c: In function 'mark_oom_victim': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct mm_struct * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct mm_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct mm_struct * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct mm_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct mm_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct mm_struct * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct mm_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct mm_struct * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct mm_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct mm_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/oom_kill.c:766:14: note: in expansion of macro 'cmpxchg' 766 | if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm)) | ^~~~~~~ In file included from /kisskb/src/include/linux/export.h:5, from /kisskb/src/include/linux/linkage.h:7, from /kisskb/src/include/linux/fs.h:5, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/kernel/sched/core.c:9: /kisskb/src/kernel/sched/core.c: In function '__wake_q_add': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct wake_q_node * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:89:29: note: in expansion of macro 'arch_cmpxchg_relaxed' 89 | #define raw_cmpxchg_relaxed arch_cmpxchg_relaxed | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4810:9: note: in expansion of macro 'raw_cmpxchg_relaxed' 4810 | raw_cmpxchg_relaxed(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/sched/core.c:961:22: note: in expansion of macro 'cmpxchg_relaxed' 961 | if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11, from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct wake_q_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct wake_q_node * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:89:29: note: in expansion of macro 'arch_cmpxchg_relaxed' 89 | #define raw_cmpxchg_relaxed arch_cmpxchg_relaxed | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4810:9: note: in expansion of macro 'raw_cmpxchg_relaxed' 4810 | raw_cmpxchg_relaxed(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/sched/core.c:961:22: note: in expansion of macro 'cmpxchg_relaxed' 961 | if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct wake_q_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct wake_q_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:89:29: note: in expansion of macro 'arch_cmpxchg_relaxed' 89 | #define raw_cmpxchg_relaxed arch_cmpxchg_relaxed | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4810:9: note: in expansion of macro 'raw_cmpxchg_relaxed' 4810 | raw_cmpxchg_relaxed(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/sched/core.c:961:22: note: in expansion of macro 'cmpxchg_relaxed' 961 | if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/io_uring/io_uring.c:42: /kisskb/src/io_uring/io_uring.c: In function 'io_req_local_work_add': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/io_uring/io_uring.c:1218:19: note: in expansion of macro 'try_cmpxchg' 1218 | } while (!try_cmpxchg(&ctx->work_llist.first, &head, | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/alloc_tag.h:11, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/kernel/locking/osq_lock.c:2: /kisskb/src/kernel/locking/osq_lock.c: In function 'osq_lock': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct optimistic_spin_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct optimistic_spin_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct optimistic_spin_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct optimistic_spin_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct optimistic_spin_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct optimistic_spin_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct optimistic_spin_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct optimistic_spin_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct optimistic_spin_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct optimistic_spin_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/kernel/locking/osq_lock.c:165:21: note: in expansion of macro 'cmpxchg' 165 | cmpxchg(&prev->next, node, NULL) == node) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/block/blk-mq.c:8: /kisskb/src/block/blk-mq.c: In function 'blk_mq_clear_rq_mapping': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct request *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct request *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3239:33: note: in expansion of macro 'cmpxchg' 3239 | cmpxchg(&drv_tags->rqs[i], rq, NULL); | ^~~~~~~ /kisskb/src/block/blk-mq.c: In function 'blk_mq_clear_flush_rq_mapping': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct request *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct request * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct request *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct request *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/block/blk-mq.c:3619:17: note: in expansion of macro 'cmpxchg' 3619 | cmpxchg(&tags->rqs[i], flush_rq, NULL); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/kernel/locking/rtmutex_api.c:5: /kisskb/src/kernel/locking/rtmutex.c: In function 'rt_mutex_cmpxchg_acquire': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:60:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:60:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct task_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:60:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:60:45: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:60:45: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct task_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:60:45: note: in expansion of macro 'arch_cmpxchg_relaxed' 60 | typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:68:9: note: in expansion of macro '__atomic_op_acquire' 68 | __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:210:16: note: in expansion of macro 'raw_cmpxchg_acquire' 210 | ___r = raw_cmpxchg_acquire((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4889:9: note: in expansion of macro 'raw_try_cmpxchg_acquire' 4889 | raw_try_cmpxchg_acquire(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:218:16: note: in expansion of macro 'try_cmpxchg_acquire' 218 | return try_cmpxchg_acquire(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c: In function 'rt_mutex_cmpxchg_release': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:228:16: note: in expansion of macro 'raw_cmpxchg_release' 228 | ___r = raw_cmpxchg_release((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4899:9: note: in expansion of macro 'raw_try_cmpxchg_release' 4899 | raw_try_cmpxchg_release(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:230:16: note: in expansion of macro 'try_cmpxchg_release' 230 | return try_cmpxchg_release(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct task_struct * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:228:16: note: in expansion of macro 'raw_cmpxchg_release' 228 | ___r = raw_cmpxchg_release((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4899:9: note: in expansion of macro 'raw_try_cmpxchg_release' 4899 | raw_try_cmpxchg_release(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:230:16: note: in expansion of macro 'try_cmpxchg_release' 230 | return try_cmpxchg_release(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct task_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct task_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:228:16: note: in expansion of macro 'raw_cmpxchg_release' 228 | ___r = raw_cmpxchg_release((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4899:9: note: in expansion of macro 'raw_try_cmpxchg_release' 4899 | raw_try_cmpxchg_release(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/rtmutex.c:230:16: note: in expansion of macro 'try_cmpxchg_release' 230 | return try_cmpxchg_release(&lock->owner, &old, new); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/log2.h:12, from /kisskb/src/include/asm-generic/div64.h:55, from ./arch/arc/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/ipv4/route.c:63: /kisskb/src/net/ipv4/route.c: In function 'rt_cache_route': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct rtable * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct rtable *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct rtable * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct rtable *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct rtable *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct rtable * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct rtable *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct rtable * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct rtable *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct rtable *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/route.c:1473:16: note: in expansion of macro 'cmpxchg' 1473 | prev = cmpxchg(p, orig, rt); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/log2.h:12, from /kisskb/src/include/asm-generic/div64.h:55, from ./arch/arc/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/ipv4/protocol.c:22: /kisskb/src/net/ipv4/protocol.c: In function 'inet_add_protocol': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_protocol *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_protocol *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:34:17: note: in expansion of macro 'cmpxchg' 34 | return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/net/ipv4/protocol.c: In function 'inet_add_offload': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:41:17: note: in expansion of macro 'cmpxchg' 41 | return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/net/ipv4/protocol.c: In function 'inet_del_protocol': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_protocol *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_protocol * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_protocol *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_protocol *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:50:16: note: in expansion of macro 'cmpxchg' 50 | ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], | ^~~~~~~ /kisskb/src/net/ipv4/protocol.c: In function 'inet_del_offload': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:16, from /kisskb/src/fs/super.c:25: /kisskb/src/fs/super.c: In function 'sb_init_dio_done_wq': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct workqueue_struct * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct workqueue_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct workqueue_struct * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct workqueue_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct workqueue_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct workqueue_struct * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct workqueue_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct workqueue_struct * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct workqueue_struct *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct workqueue_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/super.c:2205:15: note: in expansion of macro 'cmpxchg' 2205 | old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); | ^~~~~~~ In file included from /kisskb/src/include/linux/dma-fence.h:23, from /kisskb/src/include/linux/dma-fence-chain.h:13, from /kisskb/src/drivers/dma-buf/dma-fence-chain.c:10: /kisskb/src/drivers/dma-buf/dma-fence-chain.c: In function 'dma_fence_chain_walk': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11, from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/dma-fence.h:17: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:17: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:38: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:508:51: note: in definition of macro '__unrcu_pointer' 508 | typeof(*p) *local = (typeof(*p) *__force)(p); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dma_fence * /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dma_fence *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dma_fence *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/rcupdate.h:510:19: note: in definition of macro '__unrcu_pointer' 510 | ((typeof(*p) __force __kernel *)(local)); \ | ^ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:23: note: in expansion of macro 'unrcu_pointer' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~~~~~~~ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence-chain.c:65:37: note: in expansion of macro 'cmpxchg' 65 | tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), | ^~~~~~~ /kisskb/src/drivers/base/regmap/regcache-maple.c: In function 'regcache_maple_drop': /kisskb/src/drivers/base/regmap/regcache-maple.c:113:23: warning: 'lower_index' is used uninitialized [-Wuninitialized] 113 | unsigned long lower_index, lower_last; | ^~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-maple.c:113:36: warning: 'lower_last' is used uninitialized [-Wuninitialized] 113 | unsigned long lower_index, lower_last; | ^~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-maple.c:114:23: warning: 'upper_index' is used uninitialized [-Wuninitialized] 114 | unsigned long upper_index, upper_last; | ^~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-maple.c:114:36: warning: 'upper_last' is used uninitialized [-Wuninitialized] 114 | unsigned long upper_index, upper_last; | ^~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/log2.h:12, from /kisskb/src/include/asm-generic/div64.h:55, from ./arch/arc/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/ipv6/protocol.c:19: /kisskb/src/net/ipv6/protocol.c: In function 'inet6_add_offload': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:54:17: note: in expansion of macro 'cmpxchg' 54 | return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/net/ipv6/protocol.c: In function 'inet6_del_offload': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct net_offload * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct net_offload *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct net_offload *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv6/protocol.c:63:16: note: in expansion of macro 'cmpxchg' 63 | ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/filter.h:8, from /kisskb/src/net/core/sock_diag.c:3: /kisskb/src/net/core/sock_diag.c: In function 'sock_diag_register': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct sock_diag_handler * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct sock_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct sock_diag_handler * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct sock_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct sock_diag_handler *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct sock_diag_handler * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct sock_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct sock_diag_handler * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct sock_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct sock_diag_handler *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/sock_diag.c:212:17: note: in expansion of macro 'cmpxchg' 212 | return !cmpxchg((const struct sock_diag_handler **) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/nfs/nfs3acl.c:2: /kisskb/src/fs/nfs/nfs3acl.c: In function 'nfs3_prepare_get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:25:9: note: in expansion of macro 'cmpxchg' 25 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c: In function 'nfs3_complete_get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:34:13: note: in expansion of macro 'cmpxchg' 34 | if (cmpxchg(p, sentinel, acl) != sentinel) | ^~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c: In function 'nfs3_abort_get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:43:9: note: in expansion of macro 'cmpxchg' 43 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/net/core/filter.c:20: /kisskb/src/include/linux/skmsg.h: In function 'psock_replace_prog': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_prog * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_prog *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_prog * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_prog *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bpf_prog *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_prog * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_prog *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_prog * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_prog *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bpf_prog *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/skmsg.h:486:13: note: in expansion of macro 'cmpxchg' 486 | if (cmpxchg(pprog, old, prog) != old) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/mm.h:7, from /kisskb/src/mm/page_io.c:14: /kisskb/src/mm/page_io.c: In function 'sio_pool_init': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | mempool_t * {aka struct mempool_s *} /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'mempool_t *' {aka 'struct mempool_s *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | mempool_t * {aka struct mempool_s *} /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'mempool_t *' {aka 'struct mempool_s *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'mempool_t *' {aka 'struct mempool_s *'} from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | mempool_t * {aka struct mempool_s *} /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'mempool_t *' {aka 'struct mempool_s *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | mempool_t * {aka struct mempool_s *} /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'mempool_t *' {aka 'struct mempool_s *'} 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'mempool_t *' {aka 'struct mempool_s *'} from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/mm/page_io.c:257:21: note: in expansion of macro 'cmpxchg' 257 | if (cmpxchg(&sio_pool, NULL, pool)) | ^~~~~~~ /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_map * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_map *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_map * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_map *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bpf_map *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_map * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_map *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bpf_map * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bpf_map *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bpf_map *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4305:25: note: in expansion of macro 'cmpxchg' 4305 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ /kisskb/src/net/core/filter.c: In function 'bpf_get_skb_set_tunnel_proto': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct metadata_dst * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct metadata_dst *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct metadata_dst * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct metadata_dst *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct metadata_dst *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct metadata_dst * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct metadata_dst *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct metadata_dst * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct metadata_dst *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct metadata_dst *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/filter.c:4882:21: note: in expansion of macro 'cmpxchg' 4882 | if (cmpxchg(&md_dst, NULL, tmp)) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/blkdev.h:9, from /kisskb/src/fs/libfs.c:7: /kisskb/src/fs/libfs.c: In function 'stash_dentry': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2097:23: note: in expansion of macro 'cmpxchg' 2097 | old = cmpxchg(stashed, NULL, dentry); | ^~~~~~~ In file included from /kisskb/src/include/linux/export.h:5, from /kisskb/src/include/linux/linkage.h:7, from /kisskb/src/include/linux/fs.h:5: /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:2106:28: note: in expansion of macro 'try_cmpxchg' 2106 | if (likely(try_cmpxchg(stashed, &old, dentry))) | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c: In function 'stashed_dentry_prune': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct dentry * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct dentry *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct dentry *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/libfs.c:2174:9: note: in expansion of macro 'cmpxchg' 2174 | cmpxchg(stashed, dentry, NULL); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/kernel/task_work.c:2: /kisskb/src/kernel/task_work.c: In function 'task_work_add': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:55:19: note: in expansion of macro 'try_cmpxchg' 55 | } while (!try_cmpxchg(&task->task_works, &head, work)); | ^~~~~~~~~~~ /kisskb/src/kernel/task_work.c: In function 'task_work_cancel_match': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:109:28: note: in expansion of macro 'try_cmpxchg' 109 | } else if (try_cmpxchg(pprev, &work, work->next)) | ^~~~~~~~~~~ /kisskb/src/kernel/task_work.c: In function 'task_work_run': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct callback_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct callback_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct callback_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/task_work.c:166:27: note: in expansion of macro 'try_cmpxchg' 166 | } while (!try_cmpxchg(&task->task_works, &work, head)); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:8, from /kisskb/src/net/core/dev.c:71: /kisskb/src/net/core/dev.c: In function 'netdev_core_stats_alloc': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct net_device_core_stats * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct net_device_core_stats *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct net_device_core_stats * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct net_device_core_stats *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct net_device_core_stats *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct net_device_core_stats * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct net_device_core_stats *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct net_device_core_stats * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct net_device_core_stats *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct net_device_core_stats *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/core/dev.c:10714:18: note: in expansion of macro 'cmpxchg' 10714 | if (p && cmpxchg(&dev->core_stats, NULL, p)) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/net/sunrpc/auth.c:11: /kisskb/src/net/sunrpc/auth.c: In function 'rpcauth_register': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct rpc_authops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct rpc_authops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:113:15: note: in expansion of macro 'cmpxchg' 113 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); | ^~~~~~~ /kisskb/src/net/sunrpc/auth.c: In function 'rpcauth_unregister': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct rpc_authops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct rpc_authops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct rpc_authops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct rpc_authops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/auth.c:129:15: note: in expansion of macro 'cmpxchg' 129 | old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/lib/llist.c:13: /kisskb/src/lib/llist.c: In function 'llist_add_batch': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:33:19: note: in expansion of macro 'try_cmpxchg' 33 | } while (!try_cmpxchg(&head->first, &first, new_first)); | ^~~~~~~~~~~ /kisskb/src/lib/llist.c: In function 'llist_del_first': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:62:19: note: in expansion of macro 'try_cmpxchg' 62 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/lib/llist.c: In function 'llist_del_first_this': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct llist_node * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct llist_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct llist_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/lib/llist.c:90:19: note: in expansion of macro 'try_cmpxchg' 90 | } while (!try_cmpxchg(&head->first, &entry, next)); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/log2.h:12, from /kisskb/src/include/asm-generic/div64.h:55, from ./arch/arc/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/sunrpc/svcauth.c:14: /kisskb/src/net/sunrpc/svcauth.c: In function 'svc_auth_register': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct auth_ops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct auth_ops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct auth_ops * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct auth_ops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct auth_ops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct auth_ops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct auth_ops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct auth_ops * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct auth_ops *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct auth_ops *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/sunrpc/svcauth.c:147:23: note: in expansion of macro 'cmpxchg' 147 | old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/lib/rhashtable.c:14: /kisskb/src/lib/rhashtable.c: In function 'nested_table_alloc': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | union nested_table * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'union nested_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | union nested_table * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'union nested_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'union nested_table *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | union nested_table * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'union nested_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | union nested_table * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'union nested_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'union nested_table *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:141:13: note: in expansion of macro 'cmpxchg' 141 | if (cmpxchg((union nested_table **)prev, NULL, ntbl) == NULL) | ^~~~~~~ /kisskb/src/lib/rhashtable.c: In function 'rhashtable_rehash_attach': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bucket_table * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bucket_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bucket_table * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bucket_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bucket_table *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bucket_table * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bucket_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct bucket_table * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct bucket_table *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct bucket_table *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/lib/rhashtable.c:312:13: note: in expansion of macro 'cmpxchg' 312 | if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/lib/generic-radix-tree.c:2: /kisskb/src/lib/generic-radix-tree.c: In function '__genradix_ptr_alloc': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct genradix_root * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:121:26: note: in expansion of macro 'cmpxchg_release' 121 | if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct genradix_root *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct genradix_root * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:121:26: note: in expansion of macro 'cmpxchg_release' 121 | if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct genradix_root *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct genradix_root *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:121:26: note: in expansion of macro 'cmpxchg_release' 121 | if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { | ^~~~~~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct genradix_node * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:140:35: note: in expansion of macro 'cmpxchg_release' 140 | if (!(n = cmpxchg_release(p, NULL, new_node))) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct genradix_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct genradix_node * /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:140:35: note: in expansion of macro 'cmpxchg_release' 140 | if (!(n = cmpxchg_release(p, NULL, new_node))) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct genradix_node *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct genradix_node *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:68:9: note: in expansion of macro 'arch_cmpxchg_relaxed' 68 | op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:80:9: note: in expansion of macro '__atomic_op_release' 80 | __atomic_op_release(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4803:9: note: in expansion of macro 'raw_cmpxchg_release' 4803 | raw_cmpxchg_release(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/generic-radix-tree.c:140:35: note: in expansion of macro 'cmpxchg_release' 140 | if (!(n = cmpxchg_release(p, NULL, new_node))) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:79, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/fdtable.h:11, from /kisskb/src/fs/locks.c:53: /kisskb/src/fs/locks.c: In function 'locks_get_lock_context': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct file_lock_context * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct file_lock_context *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct file_lock_context * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct file_lock_context *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct file_lock_context *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct file_lock_context * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct file_lock_context *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct file_lock_context * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct file_lock_context *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct file_lock_context *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/locks.c:199:13: note: in expansion of macro 'cmpxchg' 199 | if (cmpxchg(&inode->i_flctx, NULL, ctx)) { | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/fs/eventpoll.c:10: /kisskb/src/fs/eventpoll.c: In function 'list_add_tail_lockless': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct list_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct list_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct list_head * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct list_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct list_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct list_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct list_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct list_head * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct list_head *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct list_head *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1206:14: note: in expansion of macro 'try_cmpxchg' 1206 | if (!try_cmpxchg(&new->next, &new, head)) | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c: In function 'chain_epi_lockless': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct epitem * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct epitem *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct epitem * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct epitem *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct epitem *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct epitem * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct epitem *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct epitem * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct epitem *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct epitem *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/eventpoll.c:1245:13: note: in expansion of macro 'cmpxchg' 1245 | if (cmpxchg(&epi->next, EP_UNACTIVE_PTR, NULL) != EP_UNACTIVE_PTR) | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/fs/posix_acl.c:14: /kisskb/src/fs/posix_acl.c: In function '__get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:146:9: note: in expansion of macro 'cmpxchg' 146 | cmpxchg(p, ACL_NOT_CACHED, sentinel); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:169:17: note: in expansion of macro 'cmpxchg' 169 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ In file included from /kisskb/src/include/linux/array_size.h:5, from /kisskb/src/include/linux/kernel.h:16: /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | struct posix_acl * /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'struct posix_acl *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'struct posix_acl *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:192:16: note: in expansion of macro 'raw_cmpxchg' 192 | ___r = raw_cmpxchg((_ptr), ___o, (_new)); \ | ^~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4880:9: note: in expansion of macro 'raw_try_cmpxchg' 4880 | raw_try_cmpxchg(__ai_ptr, __ai_oldp, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:177:23: note: in expansion of macro 'try_cmpxchg' 177 | if (unlikely(!try_cmpxchg(p, &sentinel, acl))) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:13, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:188, from /kisskb/src/include/linux/bitops.h:70, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/net/ipv4/inet_diag.c:8: /kisskb/src/net/ipv4/inet_diag.c: In function 'inet_diag_register': /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct inet_diag_handler * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/cmpxchg.h:11: /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct inet_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct inet_diag_handler * /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct inet_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct inet_diag_handler *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:73:16: note: in expansion of macro 'arch_cmpxchg_relaxed' 73 | typeof(op##_relaxed(args)) __ret; \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:61: warning: passing argument 2 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct inet_diag_handler * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:52: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct inet_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:66: warning: passing argument 3 of 'cmpxchg_emu_u8' makes integer from pointer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~ | | | const struct inet_diag_handler * /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ /kisskb/src/include/linux/cmpxchg-emu.h:13:67: note: expected 'uintptr_t' {aka 'long unsigned int'} but argument is of type 'const struct inet_diag_handler *' 13 | uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new); | ~~~~~~~~~~^~~ /kisskb/src/arch/arc/include/asm/cmpxchg.h:51:24: warning: assignment to 'const struct inet_diag_handler *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 51 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^ /kisskb/src/include/linux/atomic.h:75:17: note: in expansion of macro 'arch_cmpxchg_relaxed' 75 | __ret = op##_relaxed(args); \ | ^~ /kisskb/src/include/linux/atomic/atomic-arch-fallback.h:58:9: note: in expansion of macro '__atomic_op_fence' 58 | __atomic_op_fence(arch_cmpxchg, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/atomic/atomic-instrumented.h:4788:9: note: in expansion of macro 'raw_cmpxchg' 4788 | raw_cmpxchg(__ai_ptr, __VA_ARGS__); \ | ^~~~~~~~~~~ /kisskb/src/net/ipv4/inet_diag.c:1521:17: note: in expansion of macro 'cmpxchg' 1521 | return !cmpxchg((const struct inet_diag_handler **)&inet_diag_table[type], | ^~~~~~~ Completed OK # rm -rf /kisskb/build/linux-next_axs103_smp_defconfig_arc-gcc13 # Build took: 0:02:06.625806