========== build_clang - FAILED ../drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1508:4: warning: 'snprintf' will always be truncated; specified size is 80, but format string expands to at least 131 [-Wformat-truncation] 1508 | NL_SET_ERR_MSG_FMT_MOD( | ^ ../include/linux/netlink.h:131:2: note: expanded from macro 'NL_SET_ERR_MSG_FMT_MOD' 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) | ^ ../include/linux/netlink.h:116:6: note: expanded from macro 'NL_SET_ERR_MSG_FMT' 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ | ^ 1 warning generated. New errors added --- /tmp/tmp.v0RG3a3Otz 2025-09-22 02:43:02.353034633 -0700 +++ /tmp/tmp.euCxN8ntUF 2025-09-22 02:44:29.478437670 -0700 @@ -0,0 +1,10 @@ +../drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1508:4: warning: 'snprintf' will always be truncated; specified size is 80, but format string expands to at least 131 [-Wformat-truncation] + 1508 | NL_SET_ERR_MSG_FMT_MOD( + | ^ +../include/linux/netlink.h:131:2: note: expanded from macro 'NL_SET_ERR_MSG_FMT_MOD' + 131 | NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) + | ^ +../include/linux/netlink.h:116:6: note: expanded from macro 'NL_SET_ERR_MSG_FMT' + 116 | if (snprintf(__extack->_msg_buf, NETLINK_MAX_FMTMSG_LEN, \ + | ^ +1 warning generated. Per-file breakdown --- /tmp/tmp.MeJrt61LWQ 2025-09-22 02:45:22.338075488 -0700 +++ /tmp/tmp.PW6XHetNjc 2025-09-22 02:45:22.342075460 -0700 @@ -0,0 +1 @@ + 1 ../drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c