WARNING: line length of 81 exceeds 80 columns #195: 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 #204: 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 #242: 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 #243: 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 #255: 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 #263: 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 #268: 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 #276: 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 #306: 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 #359: FILE: net/devlink/rate.c:346: + unsigned long *bitmap, struct netlink_ext_ack *extack) WARNING: line length of 93 exceeds 80 columns #364: 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 #367: 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 #374: 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 #379: 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 #402: 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 #427: 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 #430: 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 #461: 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 #474: 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, 346 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 49b06a948bde ("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, 346 lines checked