Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/sfc/ethtool_common.c:274:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 257 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:257:13: note: 'efx_fill_test' declared here 257 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:352:28: warning: data argument not used by format string [-Wformat-extra-args] 352 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:354:29: warning: data argument not used by format string [-Wformat-extra-args] 354 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:356:33: warning: data argument not used by format string [-Wformat-extra-args] 356 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:363:24: warning: data argument not used by format string [-Wformat-extra-args] 363 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:367:24: warning: data argument not used by format string [-Wformat-extra-args] 367 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:371:30: warning: data argument not used by format string [-Wformat-extra-args] 371 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:373:33: warning: data argument not used by format string [-Wformat-extra-args] 373 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/falcon/ethtool.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'ef4_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:209:13: note: 'ef4_fill_test' declared here 209 | static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:305:28: warning: data argument not used by format string [-Wformat-extra-args] 305 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:307:29: warning: data argument not used by format string [-Wformat-extra-args] 307 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:309:33: warning: data argument not used by format string [-Wformat-extra-args] 309 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:316:24: warning: data argument not used by format string [-Wformat-extra-args] 316 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:320:24: warning: data argument not used by format string [-Wformat-extra-args] 320 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:324:30: warning: data argument not used by format string [-Wformat-extra-args] 324 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:326:33: warning: data argument not used by format string [-Wformat-extra-args] 326 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/siena/ethtool_common.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:209:13: note: 'efx_fill_test' declared here 209 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:304:28: warning: data argument not used by format string [-Wformat-extra-args] 304 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:306:29: warning: data argument not used by format string [-Wformat-extra-args] 306 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:308:33: warning: data argument not used by format string [-Wformat-extra-args] 308 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:315:24: warning: data argument not used by format string [-Wformat-extra-args] 315 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:319:24: warning: data argument not used by format string [-Wformat-extra-args] 319 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:323:30: warning: data argument not used by format string [-Wformat-extra-args] 323 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:325:33: warning: data argument not used by format string [-Wformat-extra-args] 325 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/sfc/ethtool_common.c:274:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 257 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:257:13: note: 'efx_fill_test' declared here 257 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:352:28: warning: data argument not used by format string [-Wformat-extra-args] 352 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:354:29: warning: data argument not used by format string [-Wformat-extra-args] 354 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:356:33: warning: data argument not used by format string [-Wformat-extra-args] 356 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:363:24: warning: data argument not used by format string [-Wformat-extra-args] 363 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:367:24: warning: data argument not used by format string [-Wformat-extra-args] 367 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:371:30: warning: data argument not used by format string [-Wformat-extra-args] 371 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:373:33: warning: data argument not used by format string [-Wformat-extra-args] 373 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/falcon/ethtool.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'ef4_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:209:13: note: 'ef4_fill_test' declared here 209 | static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:305:28: warning: data argument not used by format string [-Wformat-extra-args] 305 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:307:29: warning: data argument not used by format string [-Wformat-extra-args] 307 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:309:33: warning: data argument not used by format string [-Wformat-extra-args] 309 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:316:24: warning: data argument not used by format string [-Wformat-extra-args] 316 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:320:24: warning: data argument not used by format string [-Wformat-extra-args] 320 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:324:30: warning: data argument not used by format string [-Wformat-extra-args] 324 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:326:33: warning: data argument not used by format string [-Wformat-extra-args] 326 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/siena/ethtool_common.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:209:13: note: 'efx_fill_test' declared here 209 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:304:28: warning: data argument not used by format string [-Wformat-extra-args] 304 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:306:29: warning: data argument not used by format string [-Wformat-extra-args] 306 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:308:33: warning: data argument not used by format string [-Wformat-extra-args] 308 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:315:24: warning: data argument not used by format string [-Wformat-extra-args] 315 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:319:24: warning: data argument not used by format string [-Wformat-extra-args] 319 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:323:30: warning: data argument not used by format string [-Wformat-extra-args] 323 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:325:33: warning: data argument not used by format string [-Wformat-extra-args] 325 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../drivers/net/ethernet/sfc/ethtool_common.c:274:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 257 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:257:13: note: 'efx_fill_test' declared here 257 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:352:28: warning: data argument not used by format string [-Wformat-extra-args] 352 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:354:29: warning: data argument not used by format string [-Wformat-extra-args] 354 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:356:33: warning: data argument not used by format string [-Wformat-extra-args] 356 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:363:24: warning: data argument not used by format string [-Wformat-extra-args] 363 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:367:24: warning: data argument not used by format string [-Wformat-extra-args] 367 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:371:30: warning: data argument not used by format string [-Wformat-extra-args] 371 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:373:33: warning: data argument not used by format string [-Wformat-extra-args] 373 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/falcon/ethtool.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'ef4_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:209:13: note: 'ef4_fill_test' declared here 209 | static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:305:28: warning: data argument not used by format string [-Wformat-extra-args] 305 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:307:29: warning: data argument not used by format string [-Wformat-extra-args] 307 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:309:33: warning: data argument not used by format string [-Wformat-extra-args] 309 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:316:24: warning: data argument not used by format string [-Wformat-extra-args] 316 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:320:24: warning: data argument not used by format string [-Wformat-extra-args] 320 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:324:30: warning: data argument not used by format string [-Wformat-extra-args] 324 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:326:33: warning: data argument not used by format string [-Wformat-extra-args] 326 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/siena/ethtool_common.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:209:13: note: 'efx_fill_test' declared here 209 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:304:28: warning: data argument not used by format string [-Wformat-extra-args] 304 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:306:29: warning: data argument not used by format string [-Wformat-extra-args] 306 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:308:33: warning: data argument not used by format string [-Wformat-extra-args] 308 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:315:24: warning: data argument not used by format string [-Wformat-extra-args] 315 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:319:24: warning: data argument not used by format string [-Wformat-extra-args] 319 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:323:30: warning: data argument not used by format string [-Wformat-extra-args] 323 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:325:33: warning: data argument not used by format string [-Wformat-extra-args] 325 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated.