../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4170:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4170 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5104:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4169:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4169 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4170 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4171:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4171 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5105:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4170:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4170 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4171 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~