WARNING: line length of 85 exceeds 80 columns #48: FILE: drivers/virtio/virtio_admin_commands.c:8: + struct virtio_admin_cmd_query_cap_id_result *data) WARNING: line length of 81 exceeds 80 columns #149: 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 #150: 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 #159: 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 #159: 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 86 exceeds 80 columns #175: FILE: include/linux/virtio_admin.h:39: + struct virtio_admin_cmd_query_cap_id_result *data); WARNING: line length of 82 exceeds 80 columns #189: FILE: include/linux/virtio_admin.h:53: + * operations or capability retrieval, or a negative error code on other failures. WARNING: line length of 86 exceeds 80 columns #234: 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, 6 warnings, 2 checks, 196 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 b4691b8f369c ("virtio: 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 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, 6 warnings, 2 checks, 196 lines checked