WARNING: line length of 83 exceeds 80 columns #128: FILE: drivers/vfio/pci/qcom/main.c:17: +static struct qcom_vfio_pci_device *to_qcom_vdev(struct vfio_pci_core_device *vdev) WARNING: line length of 82 exceeds 80 columns #137: FILE: drivers/vfio/pci/qcom/main.c:26: +static ssize_t qcom_vfio_pci_read(struct vfio_device *core_vdev, char __user *buf, WARNING: line length of 86 exceeds 80 columns #177: FILE: drivers/vfio/pci/qcom/main.c:66: + pci_info(pdev, "MSI passthrough quirk using offset 0x%x\n", qdev->msi_offset); CHECK: Alignment should match open parenthesis #234: FILE: drivers/vfio/pci/qcom/main.c:123: + pci_dbg(qdev->vdev.pdev, + "SET_IRQS: index=%u flags=0x%x start=%u count=%u cached=%d\n", WARNING: line length of 95 exceeds 80 columns #235: FILE: drivers/vfio/pci/qcom/main.c:124: + hdr.index, hdr.flags, hdr.start, hdr.count, qdev->msi_cached); WARNING: line length of 91 exceeds 80 columns #237: FILE: drivers/vfio/pci/qcom/main.c:126: + if (!qdev->msi_cached && (hdr.flags & VFIO_IRQ_SET_ACTION_TRIGGER)) WARNING: line length of 81 exceeds 80 columns #343: FILE: drivers/vfio/pci/qcom/main.c:232: + pr_warn("qcom-vfio-pci: invalid id string \"%s\"\n", id); CHECK: Alignment should match open parenthesis #436: FILE: drivers/vfio/pci/qcom/msi_quirk.c:47: + pci_dbg(pdev, "MSI descriptor - addr_lo=0x%x addr_hi=0x%x data=0x%x\n", + addr_lo, addr_hi, data); WARNING: line length of 83 exceeds 80 columns #439: FILE: drivers/vfio/pci/qcom/msi_quirk.c:50: + * Validate: address must be valid. Data can be 0 with interrupt remapping. WARNING: line length of 83 exceeds 80 columns #453: FILE: drivers/vfio/pci/qcom/msi_quirk.c:64: + pci_write_config_dword(pdev, qdev->msi_offset + QCOM_VFIO_MSI_MAGIC_OFFSET, WARNING: line length of 85 exceeds 80 columns #455: FILE: drivers/vfio/pci/qcom/msi_quirk.c:66: + pci_write_config_dword(pdev, qdev->msi_offset + QCOM_VFIO_MSI_ADDR_LO_OFFSET, WARNING: line length of 85 exceeds 80 columns #457: FILE: drivers/vfio/pci/qcom/msi_quirk.c:68: + pci_write_config_dword(pdev, qdev->msi_offset + QCOM_VFIO_MSI_ADDR_HI_OFFSET, WARNING: line length of 81 exceeds 80 columns #459: FILE: drivers/vfio/pci/qcom/msi_quirk.c:70: + pci_write_config_word(pdev, qdev->msi_offset + QCOM_VFIO_MSI_DATA_OFFSET, WARNING: line length of 89 exceeds 80 columns #463: FILE: drivers/vfio/pci/qcom/msi_quirk.c:74: + qdev->msi_offset, qdev->msi_addr_lo, qdev->msi_addr_hi, qdev->msi_data); WARNING: line length of 82 exceeds 80 columns #476: FILE: drivers/vfio/pci/qcom/msi_quirk.c:87: + loff_t pos, char __user *buf, size_t count) CHECK: Alignment should match open parenthesis #493: FILE: drivers/vfio/pci/qcom/msi_quirk.c:104: + pci_dbg(qdev->vdev.pdev, "Intercepting MAGIC read at 0x%llx, returning 0x%x (QMSI)\n", + pos, tmp_val); CHECK: Alignment should match open parenthesis #501: FILE: drivers/vfio/pci/qcom/msi_quirk.c:112: + pci_dbg(qdev->vdev.pdev, "Intercepting ADDR_LO read at 0x%llx, returning 0x%x\n", + pos, tmp_val); CHECK: Alignment should match open parenthesis #505: FILE: drivers/vfio/pci/qcom/msi_quirk.c:116: + pci_dbg(qdev->vdev.pdev, "Intercepting ADDR_HI read at 0x%llx, returning 0x%x\n", + pos, tmp_val); CHECK: Alignment should match open parenthesis #509: FILE: drivers/vfio/pci/qcom/msi_quirk.c:120: + pci_dbg(qdev->vdev.pdev, "Intercepting MSI_DATA read at 0x%llx, returning 0x%x\n", + pos, tmp_val); WARNING: line length of 82 exceeds 80 columns #571: FILE: drivers/vfio/pci/qcom/qcom_vfio_pci.h:13: + * @msi_offset: Base offset in extended config for MSI passthrough (0 if disabled) total: 0 errors, 14 warnings, 6 checks, 510 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 9803b26ef99a ("vfio/pci: Add qcom-vfio-pci variant driver") 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, 6 checks, 510 lines checked