WARNING: line length of 94 exceeds 80 columns #124: FILE: net/ethtool/common.c:284: +#define __DEFINE_LINK_MODE_PARAMS_LANES(_speed, _type, _min_lanes, _lanes, _duplex, _medium) \ WARNING: line length of 81 exceeds 80 columns #141: FILE: net/ethtool/common.c:301: +#define __DEFINE_LINK_MODE_PARAMS_MEDIUMS(_speed, _type, _duplex, _mediums) \ WARNING: line length of 83 exceeds 80 columns #421: FILE: net/ethtool/common.c:473: +static_assert(ARRAY_SIZE(ethtool_link_medium_names) == __ETHTOOL_LINK_MEDIUM_LAST); CHECK: Please use a blank line after function/struct/union/enum declarations #421: FILE: net/ethtool/common.c:473: +}; +static_assert(ARRAY_SIZE(ethtool_link_medium_names) == __ETHTOOL_LINK_MEDIUM_LAST); WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #422: FILE: net/ethtool/common.c:474: +EXPORT_SYMBOL_GPL(ethtool_link_medium_names); total: 0 errors, 4 warnings, 1 checks, 358 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 b790bab6607b ("net: ethtool: Introduce ETHTOOL_LINK_MEDIUM_* values") 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, 4 warnings, 1 checks, 358 lines checked