WARNING: line length of 81 exceeds 80 columns #99: FILE: net/ethtool/module.c:64: +#define CMIS_MODULE_LOOPBACK_CTRL_OFFSET 0xB4 /* 4 consecutive bytes */ WARNING: line length of 91 exceeds 80 columns #133: FILE: net/ethtool/module.c:98: +static int module_get_loopback_caps(struct net_device *dev, struct netlink_ext_ack *extack, WARNING: line length of 86 exceeds 80 columns #145: FILE: net/ethtool/module.c:110: + CMIS_PHYS_ADMINISTRATIVE_INFO_OFFSET, sizeof(phys_id)); WARNING: line length of 81 exceeds 80 columns #157: FILE: net/ethtool/module.c:122: + CMIS_PAGE13_ADVERTISEMENT_OFFSET, sizeof(page13)); WARNING: line length of 86 exceeds 80 columns #181: FILE: net/ethtool/module.c:146: +static int module_get_loopback(struct net_device *dev, struct module_reply_data *data, WARNING: line length of 82 exceeds 80 columns #194: FILE: net/ethtool/module.c:159: + NL_SET_ERR_MSG(extack, "Module firmware flashing is in progress"); WARNING: line length of 90 exceeds 80 columns #272: FILE: net/ethtool/module.c:266: +const struct nla_policy ethnl_module_set_policy[ETHTOOL_A_MODULE_LOOPBACK_ENABLED + 1] = { WARNING: line length of 81 exceeds 80 columns #279: FILE: net/ethtool/module.c:273: + ETHTOOL_MODULE_LOOPBACK_TYPES_MEDIA_SIDE_OUTPUT | WARNING: line length of 83 exceeds 80 columns #310: FILE: net/ethtool/module.c:305: + (!ops->get_module_eeprom_by_page || !ops->set_module_eeprom_by_page)) { WARNING: line length of 99 exceeds 80 columns #345: FILE: net/ethtool/module.c:338: + NL_SET_ERR_MSG(info->extack, "Requested loopback mode(s) not supported by module"); WARNING: line length of 84 exceeds 80 columns #383: FILE: net/ethtool/module.c:376: +static int ethnl_set_module(struct ethnl_req_info *req_info, struct genl_info *info) WARNING: line length of 86 exceeds 80 columns #400: FILE: net/ethtool/module.c:388: + power_new.policy = nla_get_u8(tb[ETHTOOL_A_MODULE_POWER_MODE_POLICY]); WARNING: line length of 94 exceeds 80 columns #441: FILE: net/ethtool/netlink.h:485: +extern const struct nla_policy ethnl_module_set_policy[ETHTOOL_A_MODULE_LOOPBACK_ENABLED + 1]; total: 0 errors, 13 warnings, 0 checks, 383 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 bef2ebd76e1d ("ethtool: module: Add CMIS loopback GET/SET support") 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, 383 lines checked