[PATCH 3/3] virtio-net: Use virtio_config_val() for retrieving config

2011-08-14 Thread Sasha Levin
This patch modifies virtio-net to use virtio_config_val() instead of a 'if(virtio_has_feature()) vdev-config-get()' construct to retrieve optional values from the config space. Cc: Amit Shah amit.s...@redhat.com Cc: Michael S. Tsirkin m...@redhat.com Cc: Rusty Russell ru...@rustcorp.com.au Cc:

Re: [PATCH 3/3] virtio-net: Use virtio_config_val() for retrieving config

2011-08-14 Thread Rusty Russell
On Sun, 14 Aug 2011 17:52:33 +0300, Sasha Levin levinsasha...@gmail.com wrote: This patch modifies virtio-net to use virtio_config_val() instead of a 'if(virtio_has_feature()) vdev-config-get()' construct to retrieve optional values from the config space. Thanks, all applied. Cheers, Rusty.