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/20220704023649.3913-1-liubo03@inspur.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
parent
7654a8881a
commit
6577067d7f
1 changed files with 1 additions and 1 deletions
|
@ -1728,7 +1728,7 @@ int vfio_config_init(struct vfio_pci_core_device *vdev)
|
||||||
/*
|
/*
|
||||||
* Config space, caps and ecaps are all dword aligned, so we could
|
* Config space, caps and ecaps are all dword aligned, so we could
|
||||||
* use one byte per dword to record the type. However, there are
|
* use one byte per dword to record the type. However, there are
|
||||||
* no requiremenst on the length of a capability, so the gap between
|
* no requirements on the length of a capability, so the gap between
|
||||||
* capabilities needs byte granularity.
|
* capabilities needs byte granularity.
|
||||||
*/
|
*/
|
||||||
map = kmalloc(pdev->cfg_size, GFP_KERNEL);
|
map = kmalloc(pdev->cfg_size, GFP_KERNEL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue