WARNING: line length of 82 exceeds 80 columns #89: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:358: + esw_qos_update_sched_node_bw_share(node, divider, extack); WARNING: line length of 83 exceeds 80 columns #97: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:490: +static int esw_qos_create_vports_tc_node(struct mlx5_esw_sched_node *parent, u8 tc, WARNING: line length of 82 exceeds 80 columns #107: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:500: + SCHEDULING_CONTEXT_ELEMENT_TYPE_TSAR, WARNING: line length of 93 exceeds 80 columns #114: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:507: + vports_tc_node = __esw_qos_alloc_node(parent->esw, 0, SCHED_NODE_TYPE_VPORTS_TC_TSAR, WARNING: line length of 99 exceeds 80 columns #126: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:519: + MLX5_SET(scheduling_context, tsar_ctx, element_type, SCHEDULING_CONTEXT_ELEMENT_TYPE_TSAR); WARNING: line length of 82 exceeds 80 columns #128: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:521: + err = esw_qos_node_create_sched_element(vports_tc_node, tsar_ctx, extack); WARNING: line length of 89 exceeds 80 columns #142: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:535: +esw_qos_tc_arbiter_get_bw_shares(struct mlx5_esw_sched_node *tc_arbiter_node, u32 *tc_bw) WARNING: line length of 89 exceeds 80 columns #150: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:543: +static void esw_qos_set_tc_arbiter_bw_shares(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 88 exceeds 80 columns #151: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:544: + u32 *tc_bw, struct netlink_ext_ack *extack) WARNING: line length of 88 exceeds 80 columns #165: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:558: +static void esw_qos_destroy_vports_tc_nodes(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 88 exceeds 80 columns #170: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:563: + list_for_each_entry_safe(vports_tc_node, tmp, &tc_arbiter_node->children, entry) WARNING: line length of 86 exceeds 80 columns #174: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:567: +static int esw_qos_create_vports_tc_nodes(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 92 exceeds 80 columns #193: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:586: +static int esw_qos_create_tc_arbiter_sched_elem(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 82 exceeds 80 columns #212: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:605: + MLX5_SET(scheduling_context, tsar_ctx, parent_element_id, tsar_parent_ix); WARNING: line length of 99 exceeds 80 columns #213: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:606: + MLX5_SET(scheduling_context, tsar_ctx, element_type, SCHEDULING_CONTEXT_ELEMENT_TYPE_TSAR); WARNING: line length of 90 exceeds 80 columns #214: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:607: + MLX5_SET(scheduling_context, tsar_ctx, max_average_bw, tc_arbiter_node->max_rate); WARNING: line length of 84 exceeds 80 columns #215: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:608: + MLX5_SET(scheduling_context, tsar_ctx, bw_share, tc_arbiter_node->bw_share); WARNING: line length of 84 exceeds 80 columns #217: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:610: + return esw_qos_node_create_sched_element(tc_arbiter_node, tsar_ctx, extack); WARNING: line length of 84 exceeds 80 columns #288: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1143: + esw_qos_tc_arbiter_get_bw_shares(vport->qos.sched_node, curr_tc_bw); WARNING: line length of 92 exceeds 80 columns #300: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1154: + esw_qos_set_tc_arbiter_bw_shares(vport->qos.sched_node, curr_tc_bw, extack); total: 0 errors, 20 warnings, 0 checks, 259 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 d5e1dd7bfa25 ("net/mlx5: Manage TC arbiter nodes and implement full support for tc-bw") 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, 20 warnings, 0 checks, 259 lines checked