WARNING: line length of 87 exceeds 80 columns #128: FILE: drivers/net/ethernet/dlink/dl2k.c:170: + DEFINE_STATS(rmon_tx_byte_128to255, EtherStatsPkts128to255OctetsTransmit, u32), WARNING: line length of 87 exceeds 80 columns #131: FILE: drivers/net/ethernet/dlink/dl2k.c:173: + DEFINE_STATS(rmon_tx_byte_256to511, EtherStatsPkts256to511OctetsTransmit, u32), WARNING: line length of 89 exceeds 80 columns #134: FILE: drivers/net/ethernet/dlink/dl2k.c:176: + DEFINE_STATS(rmon_tx_byte_512to1023, EtherStatsPkts512to1023OctetsTransmit, u32), WARNING: line length of 81 exceeds 80 columns #135: FILE: drivers/net/ethernet/dlink/dl2k.c:177: + DEFINE_STATS(rmon_rx_byte_512to1203, EtherStatsPkts512to1023Octets, u32), WARNING: line length of 91 exceeds 80 columns #137: FILE: drivers/net/ethernet/dlink/dl2k.c:179: + DEFINE_STATS(rmon_tx_byte_1204to1518, EtherStatsPkts1024to1518OctetsTransmit, u32), WARNING: line length of 82 exceeds 80 columns #138: FILE: drivers/net/ethernet/dlink/dl2k.c:180: + DEFINE_STATS(rmon_rx_byte_1204to1518, EtherStatsPkts1024to1518Octets, u32) CHECK: No space is necessary after a cast #205: FILE: drivers/net/ethernet/dlink/dl2k.c:1164: + u64 *data = ((void *) np) + stats[i].offset; CHECK: No space is necessary after a cast #303: FILE: drivers/net/ethernet/dlink/dl2k.c:1358: + data[i] = *(u64 *) (((void *) np) + stats[i].offset); CHECK: spinlock_t definition without comment #371: FILE: drivers/net/ethernet/dlink/dl2k.h:387: + spinlock_t stats_lock; total: 0 errors, 6 warnings, 3 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 b3284a627d29 ("net: dlink: add get_ethtool_stats in ethtool") 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, 6 warnings, 3 checks, 383 lines checked