Re: [PATCH v7 01/46] virtio: add low-level APIs for feature bits
From: Cornelia Huck
Date: Mon Dec 01 2014 - 04:09:18 EST
On Sun, 30 Nov 2014 17:09:08 +0200
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:
> Add low level APIs to test/set/clear feature bits.
> For use by transports, to make it easier to
> write code independent of feature bit array format.
>
> Note: APIs is prefixed with __ and has _bit suffix
> to stress its low level nature. It's for use by transports only:
> drivers should use virtio_has_feature and never need to set/clear
> features.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> include/linux/virtio_config.h | 53 ++++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 50 insertions(+), 3 deletions(-)
Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/