WARNING: 'accomodate' may be misspelled - perhaps 'accommodate'? #13: To accomodate for such situation introduce a ^^^^^^^^^^ WARNING: function definition argument 'struct net_device *' should also have an identifier name #74: FILE: include/linux/ethtool.h:1175: + void (*set_pauseparam_panic)(struct net_device *); CHECK: Alignment should match open parenthesis #99: FILE: net/core/net-sysfs.c:774: +static ssize_t disable_pause_on_panic_show(struct device *dev, + struct device_attribute *attr, WARNING: line length of 88 exceeds 80 columns #107: FILE: net/core/net-sysfs.c:782: + ret = sysfs_emit(buf, fmt_dec, READ_ONCE(ndev->disable_pause_on_panic)); WARNING: line length of 83 exceeds 80 columns #113: FILE: net/core/net-sysfs.c:788: +static int modify_disable_pause_on_panic(struct net_device *dev, unsigned long val) CHECK: Alignment should match open parenthesis #124: FILE: net/core/net-sysfs.c:799: +static ssize_t disable_pause_on_panic_store(struct device *dev, + struct device_attribute *attr, WARNING: line length of 84 exceeds 80 columns #165: FILE: net/ethernet/pause_panic.c:7: + * Each device can be configured via /sys/class/net//disable_pause_on_panic. CHECK: Alignment should match open parenthesis #203: FILE: net/ethernet/pause_panic.c:45: +static int eth_pause_panic_handler(struct notifier_block *this, + unsigned long event, void *ptr) total: 0 errors, 5 warnings, 3 checks, 174 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 330cae1e71d0 ("net: ethernet: Allow disabling pause on panic") 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, 5 warnings, 3 checks, 174 lines checked