WARNING: line length of 81 exceeds 80 columns #45: FILE: drivers/virtio/virtio.c:715: + * IDs that can be used with virtio_device_cap_get() and virtio_device_cap_set(). WARNING: line length of 82 exceeds 80 columns #53: FILE: drivers/virtio/virtio.c:723: + struct virtio_admin_cmd_query_cap_id_result *data) WARNING: line length of 82 exceeds 80 columns #76: FILE: drivers/virtio/virtio.c:746: + * operations or capability retrieval, or a negative error code on other failures. WARNING: line length of 81 exceeds 80 columns #262: FILE: drivers/virtio/virtio_pci_modern.c:309: + resource_objects_limit = min(dev_parts->get_parts_resource_objects_limit, WARNING: line length of 82 exceeds 80 columns #263: FILE: drivers/virtio/virtio_pci_modern.c:310: + dev_parts->set_parts_resource_objects_limit); WARNING: line length of 95 exceeds 80 columns #289: FILE: drivers/virtio/virtio_pci_modern.c:328: + struct virtio_admin_cmd_query_cap_id_result *data) WARNING: line length of 83 exceeds 80 columns #377: FILE: include/linux/virtio.h:202: + struct virtio_admin_cmd_query_cap_id_result *data); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #390: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #407: FILE: include/linux/virtio_admin.h:13: + * VIRTIO_CAP_IN_LIST - Check if a capability is supported in the capability list WARNING: line length of 82 exceeds 80 columns #408: FILE: include/linux/virtio_admin.h:14: + * @cap_list: Pointer to capability list structure containing supported_caps array CHECK: Macro argument 'cap_list' may be better as '(cap_list)' to avoid precedence issues #417: FILE: include/linux/virtio_admin.h:23: +#define VIRTIO_CAP_IN_LIST(cap_list, cap) \ + (!!(1 & (le64_to_cpu(cap_list->supported_caps[cap / 64]) >> cap % 64))) CHECK: Macro argument 'cap' may be better as '(cap)' to avoid precedence issues #417: FILE: include/linux/virtio_admin.h:23: +#define VIRTIO_CAP_IN_LIST(cap_list, cap) \ + (!!(1 & (le64_to_cpu(cap_list->supported_caps[cap / 64]) >> cap % 64))) WARNING: line length of 84 exceeds 80 columns #435: FILE: include/linux/virtio_admin.h:41: + struct virtio_admin_cmd_query_cap_id_result *data); WARNING: line length of 86 exceeds 80 columns #480: FILE: include/uapi/linux/virtio_pci.h:326: +#define VIRTIO_ADMIN_CAP_ID_ARRAY_SIZE __KERNEL_DIV_ROUND_UP(VIRTIO_ADMIN_MAX_CAP, 64) total: 0 errors, 12 warnings, 2 checks, 421 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 37f0347c0549 ("virtio-pci: Expose generic device capability operations") 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, 12 warnings, 2 checks, 421 lines checked