# 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 160 ARCH=powerpc O=/kisskb/build/sfr-test_44x_fsp2_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/sfr-test_44x_fsp2_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/sfr-test_44x_fsp2_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/sfr-test_44x_fsp2_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/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 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) | ~~~~~~~~~~~~~~~~~~~~~^~~ 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) | ~~~~~~~~~~~~~~~~~~^~~ {standard input}: Assembler messages: {standard input}:7792: Error: unsupported relocation against base {standard input}:7810: Error: unsupported relocation against base {standard input}:7828: Error: unsupported relocation against base {standard input}:7846: Error: unsupported relocation against base {standard input}:7864: Error: unsupported relocation against base {standard input}:7895: Error: unsupported relocation against base {standard input}:7911: Error: unsupported relocation against base {standard input}:7927: Error: unsupported relocation against base {standard input}:7943: Error: unsupported relocation against base {standard input}:7959: Error: unsupported relocation against base {standard input}:7988: Error: unsupported relocation against base {standard input}:8004: Error: unsupported relocation against base {standard input}:8020: Error: unsupported relocation against base {standard input}:8036: Error: unsupported relocation against base {standard input}:8052: Error: unsupported relocation against base {standard input}:8081: Error: unsupported relocation against base {standard input}:8097: Error: unsupported relocation against base {standard input}:8113: Error: unsupported relocation against base {standard input}:8129: Error: unsupported relocation against base {standard input}:8145: Error: unsupported relocation against base make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/platforms/44x/fsp2.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/platforms/44x] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/platforms] Error 2 make[2]: *** 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, | ~~~~~~~~~~~~~~^~~~ 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/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.14184.D.14129.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) | ~~~~~~~~~~~~~^~~~~~~~ /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/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 function '____bpf_perf_event_output', inlined from 'bpf_perf_event_output' at /kisskb/src/kernel/trace/bpf_trace.c:892:1: /kisskb/src/kernel/trace/bpf_trace.c:919:17: warning: storing the address of local variable 'raw' in 'bpf_trace_sds.sds[].raw' [-Wdangling-pointer=] 919 | sd->raw = &raw; | ~~~~~~~~^~~~~~ /kisskb/src/kernel/trace/bpf_trace.c: In function 'bpf_perf_event_output': /kisskb/src/kernel/trace/bpf_trace.c:897:32: note: 'raw' declared here 897 | struct perf_raw_record raw = { | ^~~ In file included from /kisskb/src/include/asm-generic/percpu.h:7, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/trace/bpf_trace.c:7: /kisskb/src/kernel/trace/bpf_trace.c:890:53: note: 'bpf_trace_sds' declared here 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/kernel/trace/bpf_trace.c:890:8: note: in expansion of macro 'DEFINE_PER_CPU' 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~~ In function '____bpf_perf_event_output', inlined from '____bpf_perf_event_output_tp' at /kisskb/src/kernel/trace/bpf_trace.c:1248:9, inlined from 'bpf_perf_event_output_tp' at /kisskb/src/kernel/trace/bpf_trace.c:1238:1: /kisskb/src/kernel/trace/bpf_trace.c:919:17: warning: storing the address of local variable 'raw' in 'bpf_trace_sds.sds[].raw' [-Wdangling-pointer=] 919 | sd->raw = &raw; | ~~~~~~~~^~~~~~ /kisskb/src/kernel/trace/bpf_trace.c: In function 'bpf_perf_event_output_tp': /kisskb/src/kernel/trace/bpf_trace.c:897:32: note: 'raw' declared here 897 | struct perf_raw_record raw = { | ^~~ /kisskb/src/kernel/trace/bpf_trace.c:890:53: note: 'bpf_trace_sds' declared here 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/kernel/trace/bpf_trace.c:890:8: note: in expansion of macro 'DEFINE_PER_CPU' 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~~ In function '____bpf_perf_event_output', inlined from '____bpf_perf_event_output_raw_tp' at /kisskb/src/kernel/trace/bpf_trace.c:1467:8, inlined from 'bpf_perf_event_output_raw_tp' at /kisskb/src/kernel/trace/bpf_trace.c:1457:1: /kisskb/src/kernel/trace/bpf_trace.c:919:17: warning: storing the address of local variable 'raw' in 'bpf_trace_sds.sds[].raw' [-Wdangling-pointer=] 919 | sd->raw = &raw; | ~~~~~~~~^~~~~~ /kisskb/src/kernel/trace/bpf_trace.c: In function 'bpf_perf_event_output_raw_tp': /kisskb/src/kernel/trace/bpf_trace.c:897:32: note: 'raw' declared here 897 | struct perf_raw_record raw = { | ^~~ /kisskb/src/kernel/trace/bpf_trace.c:890:53: note: 'bpf_trace_sds' declared here 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/kernel/trace/bpf_trace.c:890:8: note: in expansion of macro 'DEFINE_PER_CPU' 890 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_trace_sds); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/trace/bpf_trace.c: In function 'bpf_event_output': /kisskb/src/kernel/trace/bpf_trace.c:977:17: warning: storing the address of local variable 'raw' in 'bpf_misc_sds.sds[].raw' [-Wdangling-pointer=] 977 | sd->raw = &raw; | ~~~~~~~~^~~~~~ /kisskb/src/kernel/trace/bpf_trace.c:955:32: note: 'raw' declared here 955 | struct perf_raw_record raw = { | ^~~ /kisskb/src/kernel/trace/bpf_trace.c:944:53: note: 'bpf_misc_sds' declared here 944 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_misc_sds); | ^~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/kernel/trace/bpf_trace.c:944:8: note: in expansion of macro 'DEFINE_PER_CPU' 944 | static DEFINE_PER_CPU(struct bpf_trace_sample_data, bpf_misc_sds); | ^~~~~~~~~~~~~~ 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], | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [/kisskb/src/Makefile:1789: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/net/8021q/vlan_core.c: In function 'vlan_do_receive': /kisskb/src/net/8021q/vlan_core.c:36:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 36 | if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:11, from /kisskb/src/net/8021q/vlan_core.c:4: /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 /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/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]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c: In function '__choose_matched': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:447:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 447 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:447:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 447 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:447:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 447 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:447:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 447 | MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) && | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/bonding/bond_3ad.c:11: /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/drivers/net/bonding/bond_3ad.c: In function '__update_selected': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:546:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 546 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:546:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 546 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:546:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 546 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:546:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 546 | !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function '__update_default_selected': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:578:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 578 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:578:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 578 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:578:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 578 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:578:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 578 | !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function '__update_ntt': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:609:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 609 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:609:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 609 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:609:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 609 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:609:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 609 | !MAC_ADDRESS_EQUAL(&(lacpdu->partner_system), &(port->actor_system)) || | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function 'ad_rx_machine': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1186:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1186 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1186:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1186 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1186:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1186 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1186:29: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1186 | if (MAC_ADDRESS_EQUAL(&(lacpdu->actor_system), | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function 'ad_disable_collecting_distributing': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1907:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1907 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1907:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1907 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1907:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1907 | !MAC_ADDRESS_EQUAL(&(port->aggregator->partner_system), | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function 'bond_3ad_initialize': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1990:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1990 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:1372:13: warning: conflicting types for 'bond_tlb_xmit' due to enum/integer mismatch; have 'netdev_tx_t(struct sk_buff *, struct net_device *)' {aka 'enum netdev_tx(struct sk_buff *, struct net_device *)'} [-Wenum-int-mismatch] 1372 | netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/net/bonding.h:30, from /kisskb/src/drivers/net/bonding/bond_alb.c:24: /kisskb/src/include/net/bond_alb.h:160:5: note: previous declaration of 'bond_tlb_xmit' with type 'int(struct sk_buff *, struct net_device *)' 160 | int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1990:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1990 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:1513:13: warning: conflicting types for 'bond_alb_xmit' due to enum/integer mismatch; have 'netdev_tx_t(struct sk_buff *, struct net_device *)' {aka 'enum netdev_tx(struct sk_buff *, struct net_device *)'} [-Wenum-int-mismatch] 1513 | netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) | ^~~~~~~~~~~~~ /kisskb/src/include/net/bond_alb.h:159:5: note: previous declaration of 'bond_alb_xmit' with type 'int(struct sk_buff *, struct net_device *)' 159 | int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev); | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1990:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1990 | if (!MAC_ADDRESS_EQUAL(&(BOND_AD_INFO(bond).system.sys_mac_addr), | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function 'ad_port_selection_logic': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1453:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1453 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1453:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1453 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1453:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1453 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1453:22: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1453 | MAC_ADDRESS_EQUAL(&(aggregator->partner_system), &(port->partner_oper.system)) && | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1457:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1457 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1457:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1457 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:1457:24: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 1457 | ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */ | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_3ad.c: In function 'bond_3ad_lacpdu_recv': /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2652:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2652 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2652:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2652 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:80:9: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 80 | ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_3ad.c:2652:14: note: in expansion of macro 'MAC_ADDRESS_EQUAL' 2652 | if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) | ^~~~~~~~~~~~~~~~~ /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/drivers/net/bonding/bond_alb.c: In function 'rlb_update_entry_from_arp': /kisskb/src/drivers/net/bonding/bond_alb.c:261:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 261 | (!ether_addr_equal_64bits(client_info->mac_dst, arp->mac_src))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:261:15: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:261:15: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/bonding/bond_alb.c:261:15: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/drivers/net/bonding/bond_alb.c: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], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c: In function 'rlb_purge_src_ip': /kisskb/src/drivers/net/bonding/bond_alb.c:834:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 834 | !ether_addr_equal_64bits(arp->mac_src, entry->mac_src)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:834:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:834:22: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] /kisskb/src/drivers/net/bonding/bond_alb.c:834:22: 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], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c: In function 'bond_xmit_alb_slave_get': /kisskb/src/drivers/net/bonding/bond_alb.c:1428:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 1428 | if (ether_addr_equal_64bits(eth_data->h_dest, mac_v6_allmcast)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/bonding/bond_alb.c:1428:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/drivers/net/bonding/bond_alb.c:1428:21: 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], | ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/sfr-test_44x_fsp2_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_44x_fsp2_defconfig_powerpc-gcc13 # Build took: 0:03:06.019748