fix a kmap leak in virtio_console
[linux/fpc-iii.git] / drivers / virtio / config.c
blobf70bcd2ff98ffdcb491840bb1a1a197d463f5bad
1 /* Configuration space parsing helpers for virtio.
3 * The configuration is [type][len][... len bytes ...] fields.
5 * Copyright 2007 Rusty Russell, IBM Corporation.
6 * GPL v2 or later.
7 */
8 #include <linux/err.h>
9 #include <linux/virtio.h>
10 #include <linux/virtio_config.h>
11 #include <linux/bug.h>