# git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} 4156c85dbf936800bc450ceaa3ed7cd1570315dd already have revision, skipping fetch # git checkout -q -f -B kisskb 4156c85dbf936800bc450ceaa3ed7cd1570315dd # git clean -qxdf # < git log -1 # commit 4156c85dbf936800bc450ceaa3ed7cd1570315dd # Author: Stephen Rothwell # Date: Wed Aug 19 21:32:00 2020 +1000 # # syscalls: use simpler file guard defines # # A couple of architectures were defining the generated file's guards to 1 # rather than just defining then like most of our other include file guards. # This simplifies the generating script a little. # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4156c85dbf936800bc450ceaa3ed7cd1570315dd # make -s -j 32 ARCH=powerpc O=/kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:63: /kisskb/src/arch/powerpc/xmon/xmon.c: In function 'generic_inst_dump': /kisskb/src/arch/powerpc/xmon/nonstdio.h:12:17: error: using a dangling pointer to '__str' [-Werror=dangling-pointer=] 12 | #define printf xmon_printf /kisskb/src/arch/powerpc/xmon/xmon.c:2979:25: note: in expansion of macro 'printf' 2979 | printf(REG" %s", adr, ppc_inst_as_str(inst)); | ^~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/uprobes.h:14, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:14, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:7, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:42, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:9, from /kisskb/src/include/linux/uaccess.h:9, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/arch/powerpc/xmon/xmon.c:12: /kisskb/src/arch/powerpc/include/asm/inst.h:139:14: note: '__str' declared here 139 | char __str[PPC_INST_STR_LEN]; \ | ^~~~~ /kisskb/src/arch/powerpc/xmon/xmon.c:2979:48: note: in expansion of macro 'ppc_inst_as_str' 2979 | printf(REG" %s", adr, ppc_inst_as_str(inst)); | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/xmon/xmon.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/mutex.h:15, from /kisskb/src/kernel/locking/mutex.c:21: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__mutex_add_waiter' at /kisskb/src/kernel/locking/mutex.c:213:2, inlined from '__mutex_lock_common' at /kisskb/src/kernel/locking/mutex.c:985:3, inlined from '__mutex_lock.constprop' at /kisskb/src/kernel/locking/mutex.c:1103:9: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*&lock_1(D)->wait_list.prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/mutex.c: In function '__mutex_lock.constprop': /kisskb/src/kernel/locking/mutex.c:930:29: note: 'waiter' declared here 930 | struct mutex_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/mutex.c:1100:28: note: 'lock' declared here 1100 | __mutex_lock(struct mutex *lock, long state, unsigned int subclass, | ~~~~~~~~~~~~~~^~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/xmon] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/locking/semaphore.c:30: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_killable' at /kisskb/src/kernel/locking/semaphore.c:247:9: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 4).prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_killable': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:245:63: note: 'sem' declared here 245 | static noinline int __sched __down_killable(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_timeout' at /kisskb/src/kernel/locking/semaphore.c:252:9: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 4).prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_timeout': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:250:62: note: 'sem' declared here 250 | static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down' at /kisskb/src/kernel/locking/semaphore.c:237:2: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 4).prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:235:55: note: 'sem' declared here 235 | static noinline void __sched __down(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_interruptible' at /kisskb/src/kernel/locking/semaphore.c:242:9: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 4).prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_interruptible': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:240:68: note: 'sem' declared here 240 | static noinline int __sched __down_interruptible(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/percpu.h:6, from /kisskb/src/kernel/locking/percpu-rwsem.c:3: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__add_wait_queue_entry_tail' at /kisskb/src/include/linux/wait.h:185:2, inlined from 'percpu_rwsem_wait' at /kisskb/src/kernel/locking/percpu-rwsem.c:152:3: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'wq_entry' in '((struct list_head *)sem)[4].prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ In file included from /kisskb/src/kernel/locking/percpu-rwsem.c:4: /kisskb/src/kernel/locking/percpu-rwsem.c: In function 'percpu_rwsem_wait': /kisskb/src/kernel/locking/percpu-rwsem.c:141:26: note: 'wq_entry' declared here 141 | DEFINE_WAIT_FUNC(wq_entry, percpu_rwsem_wake_function); | ^~~~~~~~ /kisskb/src/include/linux/wait.h:1136:33: note: in definition of macro 'DEFINE_WAIT_FUNC' 1136 | struct wait_queue_entry name = { \ | ^~~~ /kisskb/src/kernel/locking/percpu-rwsem.c:139:59: note: 'sem' declared here 139 | static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/locking/rwsem.c:20: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from 'rwsem_down_write_slowpath' at /kisskb/src/kernel/locking/rwsem.c:1172:2: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[1].prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/rwsem.c: In function 'rwsem_down_write_slowpath': /kisskb/src/kernel/locking/rwsem.c:1141:29: note: 'waiter' declared here 1141 | struct rwsem_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/rwsem.c:1136:48: note: 'sem' declared here 1136 | rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) | ~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/fs/proc/inode.c: In function 'proc_entry_rundown': /kisskb/src/fs/proc/inode.c:260:35: warning: storing the address of local variable 'c' in '*de.pde_unload_completion' [-Wdangling-pointer=] 260 | de->pde_unload_completion = &c; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /kisskb/src/include/linux/mm_types.h:12, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/inode.c:10: /kisskb/src/fs/proc/inode.c:258:36: note: 'c' declared here 258 | DECLARE_COMPLETION_ONSTACK(c); | ^ /kisskb/src/include/linux/completion.h:54:27: note: in definition of macro 'DECLARE_COMPLETION' 54 | struct completion work = COMPLETION_INITIALIZER(work) | ^~~~ /kisskb/src/fs/proc/inode.c:258:9: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK' 258 | DECLARE_COMPLETION_ONSTACK(c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/proc/inode.c:256:48: note: 'de' declared here 256 | void proc_entry_rundown(struct proc_dir_entry *de) | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/mm/compaction.c:11: In function '__list_cut_position', inlined from 'list_cut_position' at /kisskb/src/include/linux/list.h:400:3, inlined from 'move_freelist_tail' at /kisskb/src/mm/compaction.c:1238:3: /kisskb/src/include/linux/list.h:370:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.14307.D.14252.lru.next' [-Wdangling-pointer=] 370 | entry->next = list; | ~~~~~~~~~~~~^~~~~~ /kisskb/src/mm/compaction.c: In function 'move_freelist_tail': /kisskb/src/mm/compaction.c:1235:19: note: 'sublist' declared here 1235 | LIST_HEAD(sublist); | ^~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ /kisskb/src/mm/compaction.c:1233:61: note: 'freepage' declared here 1233 | move_freelist_tail(struct list_head *freelist, struct page *freepage) | ~~~~~~~~~~~~~^~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/net/ethernet/eth.c:36: /kisskb/src/net/ethernet/eth.c: In function 'eth_type_trans': /kisskb/src/net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from /kisskb/src/net/ethernet/eth.c:47: /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:169:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 170 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, from /kisskb/src/include/linux/compiler.h:232, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/tty/vt/vt_ioctl.c:14: In function '__list_add', inlined from 'list_add' at /kisskb/src/include/linux/list.h:86:2, inlined from '__vt_event_queue' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:146:2, inlined from 'vt_waitactive' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:223:3: /kisskb/src/include/asm-generic/rwonce.h:55:37: warning: storing the address of local variable 'vw' in 'vt_events.next' [-Wdangling-pointer=] 55 | *(volatile typeof(x) *)&(x) = (val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE' 61 | __WRITE_ONCE(x, val); \ | ^~~~~~~~~~~~ /kisskb/src/include/linux/list.h:73:9: note: in expansion of macro 'WRITE_ONCE' 73 | WRITE_ONCE(prev->next, new); | ^~~~~~~~~~ /kisskb/src/drivers/tty/vt/vt_ioctl.c: In function 'vt_waitactive': /kisskb/src/drivers/tty/vt/vt_ioctl.c:220:30: note: 'vw' declared here 220 | struct vt_event_wait vw; | ^~ /kisskb/src/drivers/tty/vt/vt_ioctl.c:98:18: note: 'vt_events' declared here 98 | static LIST_HEAD(vt_events); | ^~~~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ In function '__list_add', inlined from 'list_add' at /kisskb/src/include/linux/list.h:86:2, inlined from '__vt_event_queue' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:146:2, inlined from 'vt_event_wait' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:177:2, inlined from 'vt_event_wait_ioctl' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:199:2, inlined from 'vt_ioctl' at /kisskb/src/drivers/tty/vt/vt_ioctl.c:1042:10: /kisskb/src/include/asm-generic/rwonce.h:55:37: warning: storing the address of local variable 'vw' in 'vt_events.next' [-Wdangling-pointer=] 55 | *(volatile typeof(x) *)&(x) = (val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE' 61 | __WRITE_ONCE(x, val); \ | ^~~~~~~~~~~~ /kisskb/src/include/linux/list.h:73:9: note: in expansion of macro 'WRITE_ONCE' 73 | WRITE_ONCE(prev->next, new); | ^~~~~~~~~~ /kisskb/src/drivers/tty/vt/vt_ioctl.c: In function 'vt_ioctl': /kisskb/src/drivers/tty/vt/vt_ioctl.c:191:30: note: 'vw' declared here 191 | struct vt_event_wait vw; | ^~ /kisskb/src/drivers/tty/vt/vt_ioctl.c:98:18: note: 'vt_events' declared here 98 | static LIST_HEAD(vt_events); | ^~~~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ make[1]: *** [/kisskb/src/Makefile:1789: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/workqueue.c: In function 'get_work_pwq': /kisskb/src/kernel/workqueue.c:686:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 686 | return (void *)(data & WORK_STRUCT_WQ_DATA_MASK); | ^ /kisskb/src/kernel/workqueue.c: In function 'get_work_pool': /kisskb/src/kernel/workqueue.c:714:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 714 | return ((struct pool_workqueue *) | ^ /kisskb/src/kernel/workqueue.c: In function 'get_work_pool_id': /kisskb/src/kernel/workqueue.c:736:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 736 | return ((struct pool_workqueue *) | ^ /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4646:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4646 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4646:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/net/core/dev.c:91: /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4676 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/tty/tty_ldsem.c:28: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from 'down_write_failed' at /kisskb/src/drivers/tty/tty_ldsem.c:253:2, inlined from '__ldsem_down_write_nested' at /kisskb/src/drivers/tty/tty_ldsem.c:324:8, inlined from 'ldsem_down_write' at /kisskb/src/drivers/tty/tty_ldsem.c:366:9: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[2].prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/drivers/tty/tty_ldsem.c: In function 'ldsem_down_write': /kisskb/src/drivers/tty/tty_ldsem.c:232:29: note: 'waiter' declared here 232 | struct ldsem_waiter waiter; | ^~~~~~ /kisskb/src/drivers/tty/tty_ldsem.c:363:51: note: 'sem' declared here 363 | int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout) | ~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, from /kisskb/src/include/linux/compiler.h:232, from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/powerpc/include/asm/bug.h:109, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/dma-buf/dma-fence.c:13: In function '__list_add', inlined from 'list_add' at /kisskb/src/include/linux/list.h:86:2, inlined from 'dma_fence_default_wait' at /kisskb/src/drivers/dma-buf/dma-fence.c:699:2: /kisskb/src/include/asm-generic/rwonce.h:55:37: warning: storing the address of local variable 'cb' in '((struct list_head * volatile*)fence)[2]' [-Wdangling-pointer=] 55 | *(volatile typeof(x) *)&(x) = (val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE' 61 | __WRITE_ONCE(x, val); \ | ^~~~~~~~~~~~ /kisskb/src/include/linux/list.h:73:9: note: in expansion of macro 'WRITE_ONCE' 73 | WRITE_ONCE(prev->next, new); | ^~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-fence.c: In function 'dma_fence_default_wait': /kisskb/src/drivers/dma-buf/dma-fence.c:675:32: note: 'cb' declared here 675 | struct default_wait_cb cb; | ^~ /kisskb/src/drivers/dma-buf/dma-fence.c:673:42: note: 'fence' declared here 673 | dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout) | ~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_pspoll_workaround': /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 310 | if (!ether_addr_equal_64bits(hdr->addr3, priv->bssid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:310:14: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/wireless/intersil/p54/txrx.c:18: /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/ecdh_helper.c:122:55: warning: argument 2 of type 'const u8[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] 122 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) | ~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /kisskb/src/net/bluetooth/ecdh_helper.c:23: /kisskb/src/net/bluetooth/ecdh_helper.h:28:56: note: previously declared as 'const u8 *' {aka 'const unsigned char *'} 28 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 *private_key); | ~~~~~~~~~~^~~~~~~~~~~ make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/sfr-test_pmac32_defconfig_powerpc-gcc13 # Build took: 0:01:41.572241