WARNING: line length of 81 exceeds 80 columns #118: 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 #127: FILE: include/net/devlink.h:1485: + int (*rate_node_tc_bw_set)(struct devlink_rate *devlink_rate, void *priv, WARNING: line length of 85 exceeds 80 columns #155: FILE: net/devlink/netlink_gen.c:21: +const struct nla_policy devlink_dl_rate_tc_bw_nl_policy[DEVLINK_ATTR_RATE_BW + 1] = { WARNING: line length of 90 exceeds 80 columns #168: FILE: net/devlink/netlink_gen.c:504: +static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1] = { WARNING: line length of 87 exceeds 80 columns #176: FILE: net/devlink/netlink_gen.c:512: + [DEVLINK_ATTR_RATE_TC_BW] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bw_nl_policy), WARNING: line length of 90 exceeds 80 columns #182: FILE: net/devlink/netlink_gen.c:517: +static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1] = { WARNING: line length of 87 exceeds 80 columns #190: FILE: net/devlink/netlink_gen.c:525: + [DEVLINK_ATTR_RATE_TC_BW] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bw_nl_policy), WARNING: line length of 89 exceeds 80 columns #220: FILE: net/devlink/netlink_gen.h:16: +extern const struct nla_policy devlink_dl_rate_tc_bw_nl_policy[DEVLINK_ATTR_RATE_BW + 1]; WARNING: line length of 85 exceeds 80 columns #258: FILE: net/devlink/rate.c:142: + nla_put_u32(msg, DEVLINK_ATTR_RATE_BW, devlink_rate->tc_bw[i])) { WARNING: line length of 86 exceeds 80 columns #283: FILE: net/devlink/rate.c:412: + err = nla_parse_nested(tb, DEVLINK_ATTR_RATE_BW, nla_tc_entry, WARNING: line length of 94 exceeds 80 columns #284: FILE: net/devlink/rate.c:413: + devlink_dl_rate_tc_bw_nl_policy, info->extack); WARNING: line length of 89 exceeds 80 columns #288: FILE: net/devlink/rate.c:417: + if (tb[DEVLINK_ATTR_RATE_TC_INDEX] && tb[DEVLINK_ATTR_RATE_BW]) { WARNING: line length of 86 exceeds 80 columns #289: FILE: net/devlink/rate.c:418: + tc_index = nla_get_u8(tb[DEVLINK_ATTR_RATE_TC_INDEX]); WARNING: line length of 88 exceeds 80 columns #290: FILE: net/devlink/rate.c:419: + tc_bw[tc_index] = nla_get_u32(tb[DEVLINK_ATTR_RATE_BW]); WARNING: line length of 88 exceeds 80 columns #295: FILE: net/devlink/rate.c:424: + err = ops->rate_leaf_tc_bw_set(devlink_rate, devlink_rate->priv, WARNING: line length of 88 exceeds 80 columns #298: FILE: net/devlink/rate.c:427: + err = ops->rate_node_tc_bw_set(devlink_rate, devlink_rate->priv, WARNING: line length of 82 exceeds 80 columns #314: FILE: net/devlink/rate.c:479: + if (attrs[DEVLINK_ATTR_RATE_TC_BW] && !ops->rate_leaf_tc_bw_set) { WARNING: line length of 82 exceeds 80 columns #327: FILE: net/devlink/rate.c:511: + if (attrs[DEVLINK_ATTR_RATE_TC_BW] && !ops->rate_node_tc_bw_set) { total: 0 errors, 18 warnings, 0 checks, 252 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 312d3af610d0 ("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, 18 warnings, 0 checks, 252 lines checked