../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2370:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2370 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2370:52: note: directive argument in the range [-2147483639, 2147483646] 2370 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2370:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2370 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2371 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:509:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:509:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:509:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:52: note: directive argument in the range [-2147483639, 2147483646] 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2620:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2620 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2621 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~