virtio: Fix comment typo 'CONFIG_S_FAILED'
PATCH 1/1 virtio: Fix comment typo 'CONFIG_S_FAILED'
Without the VIRTIO_ prefix CONFIG_S_FAILED looks like a Kconfig macro. So use that prefix here too.
Signed-off-by Paul Bolle <[email protected]>
---
Introduced in commit c6716bae52f9 ("virtio-pci: move freeze/restore to virtio core").
Tested with "git grep" only.
include/linux/virtio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/virtio.h +1 -1
@@ -78,7 +78,7 @@ bool virtqueue_is_broken(struct virtqueue *vq);/** * virtio_device - representation of a device using virtio * @index: unique position on the virtio bus -* @failed: saved value for CONFIG_S_FAILED bit (for restore) +* @failed: saved value for VIRTIO_CONFIG_S_FAILED bit (for restore) * @config_enabled: configuration change reporting enabled * @config_change_pending: configuration change reported while disabled * @config_lock: protects configuration change reporting
Signature · 1 line
1.9.3
Quoted 4 lines · On Mon, 20 Oct 2014 11:17:56 +0200 Paul Bolle <[email protected]> wrote:
Without the
VIRTIO_prefixCONFIG_S_FAILEDlooks like aKconfigmacro. So use that prefix here too.Signed-off-by Paul Bolle <[email protected]>
Quoted 8 lines
---
Introduced in commitc6716bae52f9("virtio-pci: move freeze/restore to virtio core").Tested with "git grep" only.
include/linux/virtio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by Cornelia Huck <[email protected]>
Rusty Russell
AppliedQuoted 11 lines · Cornelia Huck
Quoted 8 lines · On Mon, 20 Oct 2014 11:17:56 +0200 Paul Bolle <[email protected]> wrote:
Without the
VIRTIO_prefixCONFIG_S_FAILEDlooks like aKconfigmacro. So use that prefix here too.Signed-off-by Paul Bolle <[email protected]>---
Introduced in commitc6716bae52f9("virtio-pci: move freeze/restore to virtio core").
Quoted 6 lines
Quoted 4 lines
Tested with "git grep" only.
include/linux/virtio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Acked-by Cornelia Huck <[email protected]>
Applied.
Thanks!
Rusty.