]> Pileus Git - ~andy/linux/commitdiff
virtio_console: fix uapi header
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 17 May 2013 01:14:15 +0000 (10:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 May 2013 00:55:28 +0000 (10:25 +0930)
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
include/uapi/linux/virtio_console.h

index ee13ab6c361409b31216da2e54790f804401fe51..c312f16bc4e7e692f4117b0a9280cadf1977f8db 100644 (file)
@@ -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 */