summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2022-08-01 04:39:18 +0300
committerAlex Williamson <alex.williamson@redhat.com>2022-08-01 22:37:42 +0300
commit099fd2c2020751737d9288f923d562e0e05977eb (patch)
tree93c5b57284115f21f5326b7bfbe88ea8f1c57ef6 /drivers/vfio
parent4eb919663d97e056dff8963fde22df3b0ad4d02b (diff)
downloadlinux-099fd2c2020751737d9288f923d562e0e05977eb.tar.xz
vfio/pci: fix the wrong word
This patch fixes a wrong word in comment. Signed-off-by: Bo Liu <liubo03@inspur.com> Link: https://lore.kernel.org/r/20220801013918.2520-1-liubo03@inspur.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/pci/vfio_pci_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
index 97e5ade6efb3..442d3ba4122b 100644
--- a/drivers/vfio/pci/vfio_pci_config.c
+++ b/drivers/vfio/pci/vfio_pci_config.c
@@ -222,7 +222,7 @@ static int vfio_default_config_write(struct vfio_pci_core_device *vdev, int pos,
memcpy(vdev->vconfig + pos, &virt_val, count);
}
- /* Non-virtualzed and writable bits go to hardware */
+ /* Non-virtualized and writable bits go to hardware */
if (write & ~virt) {
struct pci_dev *pdev = vdev->pdev;
__le32 phys_val = 0;