virtio: two small improvements
cover virtio: two small improvements
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(-)
Signature · 1 line
2.8.4
PATCH 1/2 MAINTAINERS: fix virtio file pattern
The pattern did not catch include/linux/virtio.h.
--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -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
Signature · 1 line
2.8.4
PATCH 2/2 virtio: virtio_driver doc
In reply to Cornelia HuckAdd comments for the virtio_driver members that were not documented.
--- include/linux/virtio.h | 4 ++++ 1 file changed, 4 insertions(+)
include/linux/virtio.h +4 -0
@@ -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;
Signature · 1 line
2.8.4
PATCH 2/2 virtio: virtio_driver doc
In reply to Cornelia HuckAdd comments for the virtio_driver members that were not documented.
--- include/linux/virtio.h | 4 ++++ 1 file changed, 4 insertions(+)
include/linux/virtio.h +4 -0
@@ -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;
Signature · 1 line
2.8.4
Quoted 1 line · Cornelia Huck
Just some stuff I noticed while looking at virtio patches.
Applied, thanks!
Quoted 10 lines
Cornelia Huck (2):
MAINTAINERS: fix virtio file pattern
virtio:virtio_driverdocMAINTAINERS | 2 +- include/linux/virtio.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)Signature · 1 line
2.8.4
Quoted 1 line · Cornelia Huck
Just some stuff I noticed while looking at virtio patches.
Applied, thanks!
Quoted 10 lines
Cornelia Huck (2):
MAINTAINERS: fix virtio file pattern
virtio:virtio_driverdocMAINTAINERS | 2 +- include/linux/virtio.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)Signature · 1 line
2.8.4