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 95 exceeds 80 columns #154: FILE: net/devlink/netlink_gen.c:21: +const struct nla_policy devlink_dl_rate_tc_bw_values_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1] = { WARNING: line length of 97 exceeds 80 columns #166: FILE: net/devlink/netlink_gen.c:503: +static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TC_BW_VALUES + 1] = { WARNING: line length of 101 exceeds 80 columns #174: FILE: net/devlink/netlink_gen.c:512: + [DEVLINK_ATTR_RATE_TC_BW_VALUES] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bw_values_nl_policy), WARNING: line length of 97 exceeds 80 columns #179: FILE: net/devlink/netlink_gen.c:516: +static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TC_BW_VALUES + 1] = { WARNING: line length of 101 exceeds 80 columns #187: FILE: net/devlink/netlink_gen.c:525: + [DEVLINK_ATTR_RATE_TC_BW_VALUES] = NLA_POLICY_NESTED(devlink_dl_rate_tc_bw_values_nl_policy), WARNING: line length of 99 exceeds 80 columns #217: FILE: net/devlink/netlink_gen.h:16: +extern const struct nla_policy devlink_dl_rate_tc_bw_values_nl_policy[DEVLINK_ATTR_RATE_TC_BW + 1]; WARNING: line length of 88 exceeds 80 columns #244: FILE: net/devlink/rate.c:139: + if (nla_put_u32(msg, DEVLINK_ATTR_RATE_TC_BW, devlink_rate->tc_bw[i])) { WARNING: line length of 99 exceeds 80 columns #270: FILE: net/devlink/rate.c:345: + if (i >= IEEE_8021QAZ_MAX_TCS || nla_type(nla_tc_entry) != DEVLINK_ATTR_RATE_TC_BW) WARNING: line length of 87 exceeds 80 columns #280: FILE: net/devlink/rate.c:355: + err = ops->rate_leaf_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 87 exceeds 80 columns #283: FILE: net/devlink/rate.c:358: + err = ops->rate_node_tc_bw_set(devlink_rate, devlink_rate->priv, tc_bw, WARNING: line length of 89 exceeds 80 columns #321: FILE: net/devlink/rate.c:483: + if (attrs[DEVLINK_ATTR_RATE_TC_BW_VALUES] && !ops->rate_leaf_tc_bw_set) { WARNING: line length of 82 exceeds 80 columns #323: FILE: net/devlink/rate.c:485: + attrs[DEVLINK_ATTR_RATE_TC_BW_VALUES], WARNING: line length of 89 exceeds 80 columns #334: FILE: net/devlink/rate.c:515: + if (attrs[DEVLINK_ATTR_RATE_TC_BW_VALUES] && !ops->rate_node_tc_bw_set) { WARNING: line length of 82 exceeds 80 columns #336: FILE: net/devlink/rate.c:517: + attrs[DEVLINK_ATTR_RATE_TC_BW_VALUES], total: 0 errors, 16 warnings, 0 checks, 258 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 47af63d0dfaf ("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, 258 lines checked