WARNING: line length of 94 exceeds 80 columns #38: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:121: +static void esw_qos_sched_elem_warn(struct mlx5_esw_sched_node *node, int err, const char *op) WARNING: line length of 87 exceeds 80 columns #45: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:126: + op, sched_node_type_str[node->type], node->vport->vport, err); WARNING: line length of 89 exceeds 80 columns #56: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:135: +static int esw_qos_node_create_sched_element(struct mlx5_esw_sched_node *node, void *ctx, WARNING: line length of 100 exceeds 80 columns #61: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:140: + err = mlx5_create_scheduling_element_cmd(node->esw->dev, SCHEDULING_HIERARCHY_E_SWITCH, ctx, WARNING: line length of 88 exceeds 80 columns #65: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:144: + NL_SET_ERR_MSG_MOD(extack, "E-Switch create scheduling element failed"); WARNING: line length of 93 exceeds 80 columns #81: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:160: + NL_SET_ERR_MSG_MOD(extack, "E-Switch destroying scheduling element failed."); WARNING: line length of 99 exceeds 80 columns #104: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:329: +static int esw_qos_vport_create_sched_element(struct mlx5_esw_sched_node *vport_node, u32 bw_share, WARNING: line length of 91 exceeds 80 columns #123: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:345: + MLX5_SET(scheduling_context, sched_ctx, parent_element_id, vport_node->parent->ix); WARNING: line length of 86 exceeds 80 columns #124: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:346: + MLX5_SET(scheduling_context, sched_ctx, max_average_bw, vport_node->max_rate); WARNING: line length of 91 exceeds 80 columns #161: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:365: + err = esw_qos_vport_create_sched_element(vport_node, vport_node->bw_share, extack); WARNING: line length of 87 exceeds 80 columns #176: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:375: + if (esw_qos_vport_create_sched_element(vport_node, vport_node->bw_share, NULL)) WARNING: line length of 98 exceeds 80 columns #184: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:438: +static void esw_qos_destroy_node(struct mlx5_esw_sched_node *node, struct netlink_ext_ack *extack) WARNING: line length of 100 exceeds 80 columns #198: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:502: +static void __esw_qos_destroy_node(struct mlx5_esw_sched_node *node, struct netlink_ext_ack *extack) WARNING: line length of 85 exceeds 80 columns #225: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:593: +static int esw_qos_vport_enable(struct mlx5_vport *vport, u32 max_rate, u32 bw_share, WARNING: line length of 89 exceeds 80 columns #246: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:608: + sched_node = __esw_qos_alloc_node(esw, 0, SCHED_NODE_TYPE_VPORT, esw->qos.node0); total: 0 errors, 15 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 4c7356f7fb68 ("net/mlx5: Generalize scheduling element operations") 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, 15 warnings, 0 checks, 272 lines checked