Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1612962 > unrolled thread

[PATCH 0/2] virtio: two small improvements

Started byCornelia Huck <cornelia.huck@de.ibm.com>
First post2017-03-30 13:20 +0200
Last post2017-03-30 17:10 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] virtio: two small improvements Cornelia Huck <cornelia.huck@de.ibm.com> - 2017-03-30 13:20 +0200
    [PATCH 2/2] virtio: virtio_driver doc Cornelia Huck <cornelia.huck@de.ibm.com> - 2017-03-30 13:20 +0200
    [PATCH 1/2] MAINTAINERS: fix virtio file pattern Cornelia Huck <cornelia.huck@de.ibm.com> - 2017-03-30 13:20 +0200
    Re: [PATCH 0/2] virtio: two small improvements "Michael S. Tsirkin" <mst@redhat.com> - 2017-03-30 17:10 +0200

#1612962 — [PATCH 0/2] virtio: two small improvements

FromCornelia Huck <cornelia.huck@de.ibm.com>
Date2017-03-30 13:20 +0200
Subject[PATCH 0/2] virtio: two small improvements
Message-ID<tqGhr-5vQ-3@gated-at.bofh.it>
Just some stuff I noticed while looking at virtio patches.

Cornelia Huck (2):
  MAINTAINERS: fix virtio file pattern
  virtio: virtio_driver doc

 MAINTAINERS            | 2 +-
 include/linux/virtio.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.8.4

[toc] | [next] | [standalone]


#1612963 — [PATCH 2/2] virtio: virtio_driver doc

FromCornelia Huck <cornelia.huck@de.ibm.com>
Date2017-03-30 13:20 +0200
Subject[PATCH 2/2] virtio: virtio_driver doc
Message-ID<tqGhr-5vQ-5@gated-at.bofh.it>
In reply to#1612962
Add comments for the virtio_driver members that were not documented.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 include/linux/virtio.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 8f4d4bf..e80adf2 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -133,9 +133,13 @@ int virtio_device_restore(struct virtio_device *dev);
  * @feature_table_legacy: same as feature_table but when working in legacy mode.
  * @feature_table_size_legacy: number of entries in feature table legacy array.
  * @probe: the function to call when a device is found.  Returns 0 or -errno.
+ * @scan: optional function to call after successful probe; intended
+ *    for virtio-scsi to invoke a scan.
  * @remove: the function to call when a device is removed.
  * @config_changed: optional function to call when the device configuration
  *    changes; may be called in interrupt context.
+ * @freeze: optional function to call during suspend/hibernation.
+ * @restore: optional function to call on resume.
  */
 struct virtio_driver {
 	struct device_driver driver;
-- 
2.8.4

[toc] | [prev] | [next] | [standalone]


#1612964 — [PATCH 1/2] MAINTAINERS: fix virtio file pattern

FromCornelia Huck <cornelia.huck@de.ibm.com>
Date2017-03-30 13:20 +0200
Subject[PATCH 1/2] MAINTAINERS: fix virtio file pattern
Message-ID<tqGhs-5vQ-23@gated-at.bofh.it>
In reply to#1612962
The pattern did not catch include/linux/virtio.h.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index a9ae6c1..f96b3f9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10902,7 +10902,7 @@ F:	drivers/virtio/
 F:	tools/virtio/
 F:	drivers/net/virtio_net.c
 F:	drivers/block/virtio_blk.c
-F:	include/linux/virtio_*.h
+F:	include/linux/virtio*.h
 F:	include/uapi/linux/virtio_*.h
 
 VIRTIO DRIVERS FOR S390
-- 
2.8.4

[toc] | [prev] | [next] | [standalone]


#1613146

From"Michael S. Tsirkin" <mst@redhat.com>
Date2017-03-30 17:10 +0200
Message-ID<tqJS1-8b4-1@gated-at.bofh.it>
In reply to#1612962
On Thu, Mar 30, 2017 at 01:13:31PM +0200, Cornelia Huck wrote:
> Just some stuff I noticed while looking at virtio patches.


Applied, thanks!

> Cornelia Huck (2):
>   MAINTAINERS: fix virtio file pattern
>   virtio: virtio_driver doc
> 
>  MAINTAINERS            | 2 +-
>  include/linux/virtio.h | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> -- 
> 2.8.4

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web