summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-17 03:14:15 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-05-20 02:55:28 +0200
commit6407d75afd08545f2252bb39806ffd3f10c7faac (patch)
treeff52e0c954bcc2a221d95dbaea83e3e1d03c854f /include
parentHoist memcpy_fromiovec/memcpy_toiovec into lib/ (diff)
downloadlinux-6407d75afd08545f2252bb39806ffd3f10c7faac.tar.xz
linux-6407d75afd08545f2252bb39806ffd3f10c7faac.zip
virtio_console: fix uapi header
uapi should use __u32 not u32. Fix a macro in virtio_console.h which uses u32. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/virtio_console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_console.h b/include/uapi/linux/virtio_console.h
index ee13ab6c3614..c312f16bc4e7 100644
--- a/include/uapi/linux/virtio_console.h
+++ b/include/uapi/linux/virtio_console.h
@@ -39,7 +39,7 @@
#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
-#define VIRTIO_CONSOLE_BAD_ID (~(u32)0)
+#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
struct virtio_console_config {
/* colums of the screens */