WARNING: line length of 82 exceeds 80 columns #43: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:20: + /* A computed value indicating relative min_rate between group members. */ WARNING: line length of 86 exceeds 80 columns #55: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:87: + struct mlx5_esw_rate_group *group) WARNING: line length of 85 exceeds 80 columns #78: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:96: + * This will correspond to fw_max_bw_share in the final bw_share calculation. WARNING: line length of 85 exceeds 80 columns #82: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:100: + vport->qos.group != group || vport->qos.min_rate < max_guarantee) WARNING: line length of 85 exceeds 80 columns #115: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:127: + * This will correspond to fw_max_bw_share in the final bw_share calculation. WARNING: line length of 98 exceeds 80 columns #139: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:148: + return min_t(u32, max_t(u32, DIV_ROUND_UP(min_rate, divider), MLX5_MIN_BW_SHARE), fw_max); WARNING: line length of 95 exceeds 80 columns #158: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:180: +static int esw_qos_normalize_min_rate(struct mlx5_eswitch *esw, struct netlink_ext_ack *extack) WARNING: line length of 84 exceeds 80 columns #203: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272: + if (!MLX5_CAP_QOS(dev, esw_bw_share) || fw_max_bw_share < MLX5_MIN_BW_SHARE) WARNING: line length of 90 exceeds 80 columns #233: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:310: + /* Any unlimited vports in the group should be set with the value of the group. */ WARNING: line length of 83 exceeds 80 columns #283: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:479: + NL_SET_ERR_MSG_MOD(extack, "E-Switch groups normalization failed"); WARNING: line length of 83 exceeds 80 columns #302: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:530: + NL_SET_ERR_MSG_MOD(extack, "E-Switch groups normalization failed"); WARNING: line length of 94 exceeds 80 columns #317: FILE: drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:220: + /* A computed value indicating relative min_rate between vports in a group. */ total: 0 errors, 12 warnings, 0 checks, 272 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 6590accba293 ("net/mlx5: qos: Refactor and document bw_share calculation") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 12 warnings, 0 checks, 272 lines checked