aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-17 10:44:15 +0930
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-11 12:04:18 -0700
commit6c9f8a4940df47e650d39216de7bc8f21e18e2fa (patch)
treee0c62b9361ab9d29c23d9e0168dfa585e028221b
parent7f3874ea67992faee3a7ff4dca382d0cb0ee0c06 (diff)
downloadlinux-linaro-stable-6c9f8a4940df47e650d39216de7bc8f21e18e2fa.tar.gz
virtio_console: fix uapi header
commit 6407d75afd08545f2252bb39806ffd3f10c7faac upstream. 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> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/virtio_console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h
index bdf4b0034739..82e12ad3d97f 100644
--- a/include/linux/virtio_console.h
+++ b/include/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 */