Skip to contentSkip to conversation

virtio: Fix comment typo 'CONFIG_S_FAILED'

PATCH Applied Paul Bolle 3 participants 3 messages Oct 20, 2014 – Oct 31, 2014 virtio core

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

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.

---
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
index 65261a7244fc..abafae783058 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Mon, 20 Oct 2014 11:17:56 +0200 Paul Bolle <[email protected]> wrote:

Without the VIRTIO_ prefix CONFIG_S_FAILED looks like a Kconfig macro. So use that prefix here too.

Quoted 8 lines

---
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(-)
#2 lore raw
Quoted 11 lines · Cornelia Huck
Quoted 8 lines · On Mon, 20 Oct 2014 11:17:56 +0200 Paul Bolle <[email protected]> wrote:

Without the VIRTIO_ prefix CONFIG_S_FAILED looks like a Kconfig macro. So use that prefix here too.

---
Introduced in commit c6716bae52f9 ("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(-)

Applied.

Thanks!
Rusty.