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