In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1771 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:42: note: directive argument in the range [-2147483643, 254] 1771 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1770:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1770 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1771 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1771 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:42: note: directive argument in the range [-2147483643, 254] 1771 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1770:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1770 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1771 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1771 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:42: note: directive argument in the range [-2147483643, 254] 1771 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1770:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1770 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1771 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~