WARNING: line length of 81 exceeds 80 columns #169: FILE: include/net/devlink.h:1475: + int (*rate_leaf_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 81 exceeds 80 columns #178: FILE: include/net/devlink.h:1485: + int (*rate_node_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 89 exceeds 80 columns #206: FILE: net/devlink/netlink_gen.c:21: +const struct nla_policy devlink_dl_rate_tc_bws_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1] = { WARNING: line length of 91 exceeds 80 columns #219: FILE: net/devlink/netlink_gen.c:504: +static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #227: FILE: net/devlink/netlink_gen.c:513: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 91 exceeds 80 columns #232: FILE: net/devlink/netlink_gen.c:517: +static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TC_BWS + 1] = { WARNING: line length of 89 exceeds 80 columns #240: FILE: net/devlink/netlink_gen.c:526: + [DEVLINK_ATTR_RATE_TC_BWS] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bws_nl_policy), WARNING: line length of 93 exceeds 80 columns #270: 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 #323: FILE: net/devlink/rate.c:346: + unsigned long *bitmap, struct netlink_ext_ack *extack) WARNING: line length of 93 exceeds 80 columns #328: 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 82 exceeds 80 columns #350: FILE: net/devlink/rate.c:373: + NL_SET_ERR_MSG(extack, "Duplicate traffic class index specified"); WARNING: line length of 93 exceeds 80 columns #372: FILE: net/devlink/rate.c:395: + err = devlink_nl_rate_tc_bw_parse(attr, tc_bw, bitmap, info->extack); WARNING: line length of 87 exceeds 80 columns #388: FILE: net/devlink/rate.c:411: + err = ops->rate_leaf_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 87 exceeds 80 columns #391: FILE: net/devlink/rate.c:414: + err = ops->rate_node_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 83 exceeds 80 columns #422: FILE: net/devlink/rate.c:538: + if (attrs[DEVLINK_ATTR_RATE_TC_BWS] && !ops->rate_leaf_tc_bw_set) { WARNING: line length of 83 exceeds 80 columns #435: FILE: net/devlink/rate.c:570: + if (attrs[DEVLINK_ATTR_RATE_TC_BWS] && !ops->rate_node_tc_bw_set) { total: 0 errors, 16 warnings, 0 checks, 314 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 1cb43a265e3a ("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, 16 warnings, 0 checks, 314 lines checked