In file included from ../include/uapi/linux/if_link.h:6, from ../include/linux/if_link.h:5, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:37, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_enable’: ../include/linux/netlink.h:116:13: warning: ‘%d’ directive output truncated writing between 1 and 3 bytes into a region of size 0 [-Wformat-truncation=] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: directive argument in the range [1, 256] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: ‘snprintf’ output between 82 and 84 bytes into a destination of size 80 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_node_enable_tc_arbitration’: ../include/linux/netlink.h:116:13: warning: ‘%d’ directive output truncated writing between 1 and 3 bytes into a region of size 0 [-Wformat-truncation=] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: directive argument in the range [1, 255] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: ‘snprintf’ output between 82 and 84 bytes into a destination of size 80 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/uapi/linux/if_link.h:6, from ../include/linux/if_link.h:5, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:37, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_enable’: ../include/linux/netlink.h:116:13: warning: ‘%d’ directive output truncated writing between 1 and 3 bytes into a region of size 0 [-Wformat-truncation=] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: directive argument in the range [1, 256] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: ‘snprintf’ output between 82 and 84 bytes into a destination of size 80 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:974:25: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 974 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_node_enable_tc_arbitration’: ../include/linux/netlink.h:116:13: warning: ‘%d’ directive output truncated writing between 1 and 3 bytes into a region of size 0 [-Wformat-truncation=] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: directive argument in the range [1, 255] 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:116:13: note: ‘snprintf’ output between 82 and 84 bytes into a destination of size 80 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "%s" fmt "%s", "", ##args, "") >= \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netlink.h:131:9: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT’ 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1448:17: note: in expansion of macro ‘NL_SET_ERR_MSG_FMT_MOD’ 1448 | NL_SET_ERR_MSG_FMT_MOD(extack, | ^~~~~~~~~~~~~~~~~~~~~~