WARNING: line length of 81 exceeds 80 columns #52: FILE: drivers/net/netdevsim/ethtool.c:130: + return min_t(u32, roundup_pow_of_two(channels) * 16, NSIM_RSS_INDIR_MAX); WARNING: line length of 81 exceeds 80 columns #67: FILE: drivers/net/netdevsim/ethtool.c:145: +static int nsim_get_rxfh(struct net_device *dev, struct ethtool_rxfh_param *rxfh) WARNING: line length of 89 exceeds 80 columns #75: FILE: drivers/net/netdevsim/ethtool.c:153: + memcpy(rxfh->indir, ns->ethtool.rss_indir_tbl, indir_size * sizeof(u32)); WARNING: line length of 81 exceeds 80 columns #82: FILE: drivers/net/netdevsim/ethtool.c:160: +static int nsim_set_rxfh(struct net_device *dev, struct ethtool_rxfh_param *rxfh, WARNING: line length of 89 exceeds 80 columns #89: FILE: drivers/net/netdevsim/ethtool.c:167: + memcpy(ns->ethtool.rss_indir_tbl, rxfh->indir, indir_size * sizeof(u32)); WARNING: line length of 93 exceeds 80 columns #96: FILE: drivers/net/netdevsim/ethtool.c:174: +static int nsim_create_rxfh_context(struct net_device *dev, struct ethtool_rxfh_context *ctx, WARNING: line length of 93 exceeds 80 columns #103: FILE: drivers/net/netdevsim/ethtool.c:181: +static int nsim_modify_rxfh_context(struct net_device *dev, struct ethtool_rxfh_context *ctx, WARNING: line length of 93 exceeds 80 columns #110: FILE: drivers/net/netdevsim/ethtool.c:188: +static int nsim_remove_rxfh_context(struct net_device *dev, struct ethtool_rxfh_context *ctx, WARNING: line length of 84 exceeds 80 columns #111: FILE: drivers/net/netdevsim/ethtool.c:189: + u32 rss_context, struct netlink_ext_ack *extack) WARNING: line length of 99 exceeds 80 columns #121: FILE: drivers/net/netdevsim/ethtool.c:199: + ns->ethtool.rss_indir_tbl[i] = ethtool_rxfh_indir_default(i, ns->ethtool.channels); WARNING: line length of 82 exceeds 80 columns #139: FILE: drivers/net/netdevsim/ethtool.c:215: + old_indir_size, new_indir_size)) WARNING: line length of 82 exceeds 80 columns #148: FILE: drivers/net/netdevsim/ethtool.c:224: + old_indir_size, new_indir_size); WARNING: line length of 85 exceeds 80 columns #151: FILE: drivers/net/netdevsim/ethtool.c:227: + err = netif_set_real_num_queues(dev, ch->combined_count, ch->combined_count); total: 0 errors, 13 warnings, 0 checks, 180 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 62459fa13ed7 ("netdevsim: Add RSS context support with dynamic table sizing") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 13 warnings, 0 checks, 180 lines checked