Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio-mmio: Correct the name of the guest features selector

Guest features selector spelling mistake.

Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

authored by

Sasha Levin and committed by
Rusty Russell
fe1a7fe2 bd20817f

+2 -2
+1 -1
drivers/virtio/virtio_mmio.c
··· 118 118 vring_transport_features(vdev); 119 119 120 120 for (i = 0; i < ARRAY_SIZE(vdev->features); i++) { 121 - writel(i, vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES_SET); 121 + writel(i, vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES_SEL); 122 122 writel(vdev->features[i], 123 123 vm_dev->base + VIRTIO_MMIO_GUEST_FEATURES); 124 124 }
+1 -1
include/linux/virtio_mmio.h
··· 63 63 #define VIRTIO_MMIO_GUEST_FEATURES 0x020 64 64 65 65 /* Activated features set selector - Write Only */ 66 - #define VIRTIO_MMIO_GUEST_FEATURES_SET 0x024 66 + #define VIRTIO_MMIO_GUEST_FEATURES_SEL 0x024 67 67 68 68 /* Guest's memory page size in bytes - Write Only */ 69 69 #define VIRTIO_MMIO_GUEST_PAGE_SIZE 0x028