WARNING: line length of 81 exceeds 80 columns #194: FILE: include/net/devlink.h:1487: + int (*rate_leaf_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 81 exceeds 80 columns #203: FILE: include/net/devlink.h:1497: + int (*rate_node_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 89 exceeds 80 columns #243: FILE: net/devlink/netlink_gen.c:48: +const struct nla_policy devlink_dl_rate_tc_bws_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1] = { WARNING: line length of 94 exceeds 80 columns #244: FILE: net/devlink/netlink_gen.c:49: + [DEVLINK_ATTR_RATE_TC_INDEX] = NLA_POLICY_RANGE(NLA_U8, 0, DEVLINK_RATE_TC_INDEX_MAX), WARNING: line length of 91 exceeds 80 columns #256: FILE: net/devlink/netlink_gen.c:531: +static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #264: FILE: net/devlink/netlink_gen.c:540: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 91 exceeds 80 columns #269: FILE: net/devlink/netlink_gen.c:544: +static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #277: FILE: net/devlink/netlink_gen.c:553: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 93 exceeds 80 columns #307: FILE: net/devlink/netlink_gen.h:16: +extern const struct nla_policy devlink_dl_rate_tc_bws_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1]; WARNING: line length of 93 exceeds 80 columns #360: FILE: net/devlink/rate.c:346: + unsigned long *bitmap, struct netlink_ext_ack *extack) WARNING: line length of 93 exceeds 80 columns #365: FILE: net/devlink/rate.c:351: + nla_parse_nested(tb, DEVLINK_ATTR_MAX, parent_nest, devlink_dl_rate_tc_bws_nl_policy, WARNING: line length of 86 exceeds 80 columns #368: FILE: net/devlink/rate.c:354: + NL_SET_ERR_ATTR_MISS(extack, parent_nest, DEVLINK_ATTR_RATE_TC_INDEX); WARNING: line length of 83 exceeds 80 columns #375: FILE: net/devlink/rate.c:361: + NL_SET_ERR_ATTR_MISS(extack, parent_nest, DEVLINK_ATTR_RATE_TC_BW); WARNING: line length of 90 exceeds 80 columns #380: FILE: net/devlink/rate.c:366: + NL_SET_ERR_MSG_FMT(extack, "Duplicate traffic class index specified (%u)", WARNING: line length of 93 exceeds 80 columns #403: FILE: net/devlink/rate.c:389: + err = devlink_nl_rate_tc_bw_parse(attr, tc_bw, bitmap, info->extack); WARNING: line length of 87 exceeds 80 columns #428: FILE: net/devlink/rate.c:414: + err = ops->rate_leaf_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 87 exceeds 80 columns #431: FILE: net/devlink/rate.c:417: + err = ops->rate_node_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 83 exceeds 80 columns #462: FILE: net/devlink/rate.c:541: + if (attrs[DEVLINK_ATTR_RATE_TC_BWS] && !ops->rate_leaf_tc_bw_set) { WARNING: line length of 83 exceeds 80 columns #475: FILE: net/devlink/rate.c:573: + if (attrs[DEVLINK_ATTR_RATE_TC_BWS] && !ops->rate_node_tc_bw_set) { total: 0 errors, 19 warnings, 0 checks, 347 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 24b2f7ec407b ("devlink: Extend devlink rate API with traffic classes bandwidth management") 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, 19 warnings, 0 checks, 347 lines checked