WARNING: line length of 89 exceeds 80 columns #26: FILE: include/uapi/linux/virtio_net.h:59: +#define VIRTIO_NET_F_DEVICE_STATS 50 /* Device can provide device-level statistics. */ CHECK: Blank lines aren't necessary after an open brace '{' #42: FILE: include/uapi/linux/virtio_net.h:418: +struct virtio_net_stats_capabilities { + ERROR: Use C99 flexible arrays - see https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays #56: FILE: include/uapi/linux/virtio_net.h:432: + __le64 supported_stats_types[1]; +}; ERROR: Use C99 flexible arrays - see https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays #64: FILE: include/uapi/linux/virtio_net.h:440: + } stats[1]; +}; total: 2 errors, 1 warnings, 1 checks, 153 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 8804853a293a ("virtio_net: introduce device stats feature and structures") 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.