summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2022-07-31 21:39:18 -0400
committerAlex Williamson <alex.williamson@redhat.com>2022-08-01 13:37:42 -0600
commit099fd2c2020751737d9288f923d562e0e05977eb (patch)
tree93c5b57284115f21f5326b7bfbe88ea8f1c57ef6
parent4eb919663d97e056dff8963fde22df3b0ad4d02b (diff)
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>
-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;