Snippets for linux 7.2.0 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/kernel/7.2.0/61.fc46/data/logs/ppc64le/build.log.
-
/usr/include/features.h:451:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 451 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ -
tmon.c:233:25: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 233 | strncpy(ctrl_cdev, optarg, CDEV_NAME_SIZE); | ^ -
iio_event_monitor.c:300:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__s64’ {aka ‘long int’} [-Wformat=] 300 | fprintf(stderr, "Unknown event: time: %lld, id: %llx\n", | ~~~^ | | | long long int | %ld 301 | event->timestamp, event->id); | ~~~~~~~~~~~~~~~~ | | | __s64 {aka long int} -
iio_event_monitor.c:300:68: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 300 | fprintf(stderr, "Unknown event: time: %lld, id: %llx\n", | ~~~^ | | | long long unsigned int | %lx 301 | event->timestamp, event->id); | ~~~~~~~~~ | | | __u64 {aka long unsigned int} -
iio_event_monitor.c:306:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘__s64’ {aka ‘long int’} [-Wformat=] 306 | printf("Event: time: %lld, type: %s", event->timestamp, | ~~~^ ~~~~~~~~~~~~~~~~ | | | | long long int __s64 {aka long int} | %ld -
page_owner_sort.c:419:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | tmp = strstr(buf, "__vmalloc_node_range"); | ^ -
src/in_kernel.c:77:17: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 77 | strncpy(out_name, line, 2 * MAX_DA_NAME_LEN); | ^ -
src/in_kernel.c:77:17: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
-
src/in_kernel.c:307:9: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 307 | strncpy(curr_reactor, start, strlen(start)); | ^ -
src/utils.c:749:9: warning: ‘strncpy’ output may be truncated copying 1010 bytes from a string of length 1024 [-Wstringop-truncation] 749 | strncpy(mp, mount_point, sizeof_mp - 1); | ^ -
src/timerlat_aa.c:542:9: warning: ‘strncpy’ specified bound 24 equals destination size [-Wstringop-truncation] 542 | strncpy(taa_data->current_comm, comm, MAX_COMM); | ^ -
ibumad_user.c:45:45: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 45 | printf("0x%02x : %llu\n", key, value); | ~~~^ ~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
offwaketime_user.c:33:31: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 33 | printf("%s/%llx;", sym->name, addr); | ~~~^ ~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lx -
offwaketime_user.c:67:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 67 | printf(";%s %lld\n", key->waker, count); | ~~~^ ~~~~~ | | | | long long int __u64 {aka long unsigned int} | %ld -
sampleip_user.c:118:41: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 118 | printf("0x%-17llx %-32s %u\n", counts[i].ip, sym->name, | ~~~~~~^ ~~~~~~~~~~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %-17lx -
sampleip_user.c:121:41: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 121 | printf("0x%-17llx %-32s %u\n", counts[i].ip, "(user)", | ~~~~~~^ ~~~~~~~~~~~~ | | | | long long unsigned int __u64 {aka long unsigned int} | %-17lx -
sockex2_user.c:54:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 54 | printf("ip %s bytes %lld packets %lld\n", | ~~~^ | | | long long int | %ld 55 | inet_ntoa((struct in_addr){htonl(next_key)}), 56 | value.bytes, value.packets); | ~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
sockex2_user.c:54:61: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 54 | printf("ip %s bytes %lld packets %lld\n", | ~~~^ | | | long long int | %ld 55 | inet_ntoa((struct in_addr){htonl(next_key)}), 56 | value.bytes, value.packets); | ~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
sockex3_user.c:87:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 87 | printf("%s.%05d -> %s.%05d %12lld %12lld\n", | ~~~~~^ | | | long long int | %12ld -
sockex3_user.c:87:64: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 7 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 87 | printf("%s.%05d -> %s.%05d %12lld %12lld\n", | ~~~~~^ | | | long long int | %12ld -
task_fd_query_user.c:115:66: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 115 | printf("buf: %s, fd_type: %u, probe_offset: 0x%llx," | ~~~^ | | | long long unsigned int | %lx 116 | " probe_addr: 0x%llx\n", 117 | buf, fd_type, probe_offset, probe_addr); | ~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:115:24: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 115 | printf("buf: %s, fd_type: %u, probe_offset: 0x%llx," | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | " probe_addr: 0x%llx\n", 117 | buf, fd_type, probe_offset, probe_addr); | ~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:189:24: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 189 | printf("FAIL: %s, " | ^~~~~~~~~~~~ 190 | "for name %s, offset 0x%llx, addr 0x%llx, is_return %d\n", 191 | __func__, name ? name : "", offset, addr, is_return); | ~~~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:189:24: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 189 | printf("FAIL: %s, " | ^~~~~~~~~~~~ 190 | "for name %s, offset 0x%llx, addr 0x%llx, is_return %d\n", 191 | __func__, name ? name : "", offset, addr, is_return); | ~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:207:71: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 207 | printf("FAIL: %s, incorrect probe_offset 0x%llx\n", | ~~~^ | | | long long unsigned int | %lx 208 | __func__, probe_offset); | ~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:219:69: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 219 | printf("FAIL: %s, incorrect probe_addr 0x%llx\n", | ~~~^ | | | long long unsigned int | %lx 220 | __func__, probe_addr); | ~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
task_fd_query_user.c:299:63: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 299 | printf("FAIL: %s, incorrect probe_offset 0x%llx\n", __func__, | ~~~^ | | | long long unsigned int | %lx 300 | probe_offset); | ~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
trace_event_user.c:50:20: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 50 | printf("%llx;", addr); | ~~~^ ~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lx -
trace_event_user.c:67:21: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 67 | printf("%3lld %s;", count, key->comm); | ~~~~^ ~~~~~ | | | | | __u64 {aka long unsigned int} | long long int | %3ld -
trace_output_user.c:30:36: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 30 | printf("BUG pid %llx cookie %llx sized %d\n", | ~~~^ | | | long long unsigned int | %lx 31 | e->pid, e->cookie, size); | ~~~~~~ | | | __u64 {aka long unsigned int} -
trace_output_user.c:30:48: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 30 | printf("BUG pid %llx cookie %llx sized %d\n", | ~~~^ | | | long long unsigned int | %lx 31 | e->pid, e->cookie, size); | ~~~~~~~~~ | | | __u64 {aka long unsigned int} -
tracex3_user.c:104:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 104 | printf(" # %lld\n", total_events); | ~~~^ ~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long int | %ld -
tracex4_user.c:43:34: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 43 | printf("obj 0x%llx is %2lldsec old was allocated at ip %llx\n", | ~~~^ | | | long long unsigned int | %lx 44 | next_key, (val - v.val) / 1000000000ll, v.ip); | ~~~~~~~~ | | | __u64 {aka long unsigned int} -
tracex4_user.c:43:75: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 43 | printf("obj 0x%llx is %2lldsec old was allocated at ip %llx\n", | ~~~^ | | | long long unsigned int | %lx 44 | next_key, (val - v.val) / 1000000000ll, v.ip); | ~~~~ | | | __u64 {aka long unsigned int} -
tracex6_user.c:53:45: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 53 | fprintf(stderr, "CPU %d: %llu\n", cpu, value); | ~~~^ ~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
tracex6_user.c:61:54: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 61 | fprintf(stderr, "CPU %d: counter: %llu, enabled: %llu, running: %llu\n", cpu, | ~~~^ | | | long long unsigned int | %lu 62 | value2.counter, value2.enabled, value2.running); | ~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
tracex6_user.c:61:69: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 61 | fprintf(stderr, "CPU %d: counter: %llu, enabled: %llu, running: %llu\n", cpu, | ~~~^ | | | long long unsigned int | %lu 62 | value2.counter, value2.enabled, value2.running); | ~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
tracex6_user.c:61:84: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 61 | fprintf(stderr, "CPU %d: counter: %llu, enabled: %llu, running: %llu\n", cpu, | ~~~^ | | | long long unsigned int | %lu 62 | value2.counter, value2.enabled, value2.running); | ~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
xdp_adjust_tail_user.c:64:60: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 64 | printf("icmp \"packet too big\" sent: %10llu pkts\n", value); | ~~~~~^ ~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %10lu -
./vmlinux.h:31903:3: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:34619:2: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:74090:3: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:93344:2: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:94840:2: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:130341:3: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:130441:2: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:142921:4: warning: declaration does not declare anything [-Wmissing-declarations]
-
./vmlinux.h:143359:2: warning: declaration does not declare anything [-Wmissing-declarations]
-
xdp_tx_iptunnel_user.c:73:60: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 73 | printf("proto %u: sum:%10llu pkts, rate:%10llu pkts/s\n", | ~~~~~^ | | | long long unsigned int | %10lu 74 | proto, sum, sum / STATS_INTERVAL_S); | ~~~ | | | __u64 {aka long unsigned int} -
xdp_tx_iptunnel_user.c:73:78: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 73 | printf("proto %u: sum:%10llu pkts, rate:%10llu pkts/s\n", | ~~~~~^ | | | long long unsigned int | %10lu -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 99 | set->sig[1] | set->sig[0]) == 0; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 101 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:116:5: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 116 | (set1->sig[1] == set2->sig[1]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:116:21: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 116 | (set1->sig[1] == set2->sig[1]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:119:11: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 119 | return (set1->sig[1] == set2->sig[1]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:119:27: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 119 | return (set1->sig[1] == set2->sig[1]) && | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:160:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 160 | _SIG_SET_BINOP(sigandsets, _sig_and) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:163:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 163 | _SIG_SET_BINOP(sigandnsets, _sig_andn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:187:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:187:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:198:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 198 | case 2: set->sig[1] = 0; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:211:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 211 | case 2: set->sig[1] = -1; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:242:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 242 | case 2: set->sig[1] = 0; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:255:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 255 | case 2: set->sig[1] = -1; | ^ ~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/fs.h:2436:2: warning: declaration does not declare anything [-Wmissing-declarations] 2436 | struct __filename_head; | ^~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/ns/ns_common_types.h:120:3: warning: declaration does not declare anything [-Wmissing-declarations] 120 | struct ns_tree; | ^~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:187:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
-
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/ns/ns_common_types.h:120:3: warning: declaration does not declare anything [-Wmissing-declarations] 120 | struct ns_tree;
-
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/net/sock.h:85:3: warning: declaration does not declare anything [-Wmissing-declarations] 85 | struct slock_owned { | ^~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/samples/bpf/libbpf/include/bpf/bpf_helpers.h:318:9: warning: 'bpf_stream_printk' macro redefined [-Wmacro-redefined] 318 | #define bpf_stream_printk(stream_id, fmt, args...) \ | ^ -
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 115 | In file included from xdp_fwd_kern.c :(15s:
-
/builddir/build/BUILD/kernel-7.2.0-build/kernel-7.2/linux-7.2.0-61.fc46.ppc64le/include/linux/signal.h:116:5: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 116 | (set1->sig[1] == setIn file included from 2xdp_fwd_kern.c-:>s15ig:
-
xdp_router_ipv4_user.c:345:50: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__be64’ {aka ‘long unsigned int’} [-Wformat=] 345 | sprintf(mac, "%lld", | ~~~^ | | | long long int | %ld 346 | *((__be64 *)RTA_DATA(rt_attr))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __be64 {aka long unsigned int} -
test_memcontrol.c:1758:12: warning: ‘fd’ may be used uninitialized [-Wmaybe-uninitialized] 1758 | if (fd >= 0) | ^ -
test_memcontrol.c:1713:12: warning: ‘fd’ may be used uninitialized [-Wmaybe-uninitialized] 1713 | if (fd >= 0) | ^ -
cow.c:645:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 645 | write(comm_pipes.child_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:661:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 661 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:730:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 730 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:480:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 480 | write(comm_pipes.child_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:568:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:331:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 331 | write(comm_pipes.child_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:356:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 356 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:170:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 170 | write(comm_pipes->child_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:220:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 220 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:229:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 229 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:237:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 237 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:129:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 129 | write(comm_pipes->child_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:1380:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1380 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:1391:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1391 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cow.c:1402:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1402 | write(comm_pipes.parent_ready[1], "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
hmm-tests.c:266:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 266 | read(fd, &r, sizeof(r)); | ^~~~~~~~~~~~~~~~~~~~~~~ -
hugetlb-vmemmap.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | read(fd, &pagemap, sizeof(pagemap)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
hugetlb-vmemmap.c:64:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | read(fd, &pageflags, sizeof(pageflags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
hugetlb-vmemmap.c:77:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | read(fd, &pageflags, sizeof(pageflags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
map_fixed_noreplace.c:22:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 22 | system(cmd); | ^~~~~~~~~~~ -
memory-failure.c:257:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 257 | ftruncate(fd, size); | ^~~~~~~~~~~~~~~~~~~ -
mremap_dontunmap.c:27:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | system(cmd); | ^~~~~~~~~~~ -
rmap.c:336:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 336 | ftruncate(shm_fd, data->mapsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rmap.c:361:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 361 | ftruncate(fd, data->mapsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
soft-dirty.c:155:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | ftruncate(test_fd, pagesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ipmr.c:119:13: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable=] 119 | int unused = 0; | ^~~~~~ -
mptcp_connect.c:1267:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1267 | char *next = strchr(type, ','); | ^~~~~~ -
mptcp_connect.c:1295:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1295 | char *next = strchr(name, ','); | ^~~~~~ -
conntrack_dump_flush.c:105:26: warning: unused variable ‘rplnlh’ [-Wunused-variable] 105 | struct nlmsghdr *rplnlh; | ^~~~~~ -
conntrack_dump_flush.c:224:24: warning: unused variable ‘nest’ [-Wunused-variable] 224 | struct nlattr *nest; | ^~~~ -
conntrack_dump_flush.c:222:32: warning: unused variable ‘rplnlh’ [-Wunused-variable] 222 | struct nlmsghdr *nlh, *rplnlh; | ^~~~~~ -
conntrack_dump_flush.c:271:24: warning: unused variable ‘nest’ [-Wunused-variable] 271 | struct nlattr *nest; | ^~~~ -
conntrack_dump_flush.c:269:32: warning: unused variable ‘rplnlh’ [-Wunused-variable] 269 | struct nlmsghdr *nlh, *rplnlh; | ^~~~~~ -
conntrack_reverse_clash.c:71:19: warning: unused variable ‘plen’ [-Wunused-variable] 71 | socklen_t plen; | ^~~~ -
nf_queue.c:337:33: warning: statement with no effect [-Wunused-value] 337 | for (ooo_count; ooo_count >= 0; ooo_count--) { | ^~~ -
lib/proc.c:61:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | column = strchr(line, ':'); | ^ -
memfd_test.c:721:13: warning: ‘<unknown>’ may be used uninitialized [-Wmaybe-uninitialized] 721 | l = pwrite(fd, buf, mfd_def_size * 8, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
iou-zcrx.c:133:16: warning: unused variable ‘size’ [-Wunused-variable] 133 | size_t size; | ^~~~ -
iou-zcrx.c:272:30: warning: unused variable ‘sqe’ [-Wunused-variable] 272 | struct io_uring_sqe *sqe; | ^~~ -
iou-zcrx.c:318:16: warning: unused variable ‘ret’ [-Wunused-variable] 318 | int i, ret; | ^~~ -
iou-zcrx.c:318:13: warning: unused variable ‘i’ [-Wunused-variable] 318 | int i, ret; | ^ -
iou-zcrx.c:491:21: warning: unused variable ‘cfg_test’ [-Wunused-variable] 491 | const char *cfg_test = argv[argc - 1]; | ^~~~~~~~ -
ncdevmem.c:995:56: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 995 | "received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n", | ~~~^ | | | long long unsigned int | %lu -
ncdevmem.c:995:77: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 995 | "received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n", | ~~~^ | | | long long unsigned int | %lu 996 | dmabuf_cmsg->frag_offset >> PAGE_SHIFT, 997 | dmabuf_cmsg->frag_offset % getpagesize(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} -
ncdevmem.c:995:95: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 995 | "received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n", | ~~~^ | | | long long unsigned int | %lu -
file_stressor.c:112:23: warning: unused variable ‘pid_self’ [-Wunused-variable] 112 | pid_t pid_self; | ^~~~~~~~ -
tsync_test.c:63:1: warning: no return statement in function returning non-void [-Wreturn-type] 63 | } | ^ -
uevent_filtering.c:217:16: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized] 217 | return ret; | ^~~ -
gro.c:1249:13: warning: variable ‘total_data’ set but not used [-Wunused-but-set-variable=] 1249 | int total_data = 0; | ^~~~~~~~~~