Commit fe1a7fe2c4456679b3402f04268bdfafca7b127a

Authored by Sasha Levin
Committed by Rusty Russell
1 parent bd20817f73

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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

drivers/virtio/virtio_mmio.c
... ... @@ -118,7 +118,7 @@
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 }
include/linux/virtio_mmio.h
... ... @@ -63,7 +63,7 @@
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