CHECK: spinlock_t definition without comment #60: FILE: include/linux/netdevice.h:1779: + spinlock_t config_lock; WARNING: line length of 89 exceeds 80 columns #88: FILE: include/linux/netdevice.h:2753: +#define update_snapshot(config_ptr, type) \ WARNING: line length of 89 exceeds 80 columns #89: FILE: include/linux/netdevice.h:2754: + do { \ WARNING: line length of 89 exceeds 80 columns #90: FILE: include/linux/netdevice.h:2755: + typeof((config_ptr)) rx_config = ((type *)(dev->priv))->rx_config; \ WARNING: line length of 89 exceeds 80 columns #91: FILE: include/linux/netdevice.h:2756: + unsigned long flags; \ WARNING: line length of 89 exceeds 80 columns #92: FILE: include/linux/netdevice.h:2757: + spin_lock_irqsave(&((dev)->rx_work->config_lock), flags); \ WARNING: line length of 89 exceeds 80 columns #93: FILE: include/linux/netdevice.h:2758: + *rx_config = *(config_ptr); \ WARNING: line length of 89 exceeds 80 columns #94: FILE: include/linux/netdevice.h:2759: + spin_unlock_irqrestore(&((dev)->rx_work->config_lock), flags); \ WARNING: line length of 89 exceeds 80 columns #97: FILE: include/linux/netdevice.h:2762: +#define read_snapshot(config_ptr, type) \ WARNING: line length of 89 exceeds 80 columns #98: FILE: include/linux/netdevice.h:2763: + do { \ WARNING: line length of 89 exceeds 80 columns #99: FILE: include/linux/netdevice.h:2764: + typeof((config_ptr)) rx_config = ((type *)(dev->priv))->rx_config; \ WARNING: line length of 89 exceeds 80 columns #100: FILE: include/linux/netdevice.h:2765: + unsigned long flags; \ WARNING: line length of 89 exceeds 80 columns #101: FILE: include/linux/netdevice.h:2766: + spin_lock_irqsave(&((dev)->rx_work->config_lock), flags); \ WARNING: line length of 89 exceeds 80 columns #102: FILE: include/linux/netdevice.h:2767: + *(config_ptr) = *rx_config; \ WARNING: line length of 89 exceeds 80 columns #103: FILE: include/linux/netdevice.h:2768: + spin_unlock_irqrestore(&((dev)->rx_work->config_lock), flags); \ total: 0 errors, 14 warnings, 1 checks, 152 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 b8bb9f437fa9 ("net: Add ndo_write_rx_config and helper structs and functions.") 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, 14 warnings, 1 checks, 152 lines checked