WARNING: line length of 81 exceeds 80 columns #212: FILE: include/net/devlink.h:1490: + int (*rate_leaf_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 81 exceeds 80 columns #221: FILE: include/net/devlink.h:1500: + int (*rate_node_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 89 exceeds 80 columns #257: FILE: net/devlink/netlink_gen.c:22: +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 #258: FILE: net/devlink/netlink_gen.c:23: + [DEVLINK_ATTR_RATE_TC_INDEX] = NLA_POLICY_RANGE(NLA_U8, 0, DEVLINK_RATE_TC_INDEX_MAX), WARNING: line length of 91 exceeds 80 columns #270: FILE: net/devlink/netlink_gen.c:505: +static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #278: FILE: net/devlink/netlink_gen.c:514: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 91 exceeds 80 columns #283: FILE: net/devlink/netlink_gen.c:518: +static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #291: FILE: net/devlink/netlink_gen.c:527: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 93 exceeds 80 columns #325: FILE: net/devlink/netlink_gen.h:17: +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 #378: FILE: net/devlink/rate.c:346: + unsigned long *bitmap, struct netlink_ext_ack *extack) WARNING: line length of 93 exceeds 80 columns #383: 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 #386: 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 #393: 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 #398: 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 #421: 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 #446: 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 #449: 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 #480: 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 #493: 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, 363 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 b5ea8899a6ac ("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, 363 lines checked