diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-05-17 10:44:15 +0930 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-06-05 10:30:27 -0400 |
commit | 34b93d738403b13558f30923b49976a905e6dcbf (patch) | |
tree | 59064634fe554ed4161ce201dda4ee8fca07cd4c | |
parent | a86253bac070b729a8a0af31bfe8ea8cf1faa124 (diff) |
virtio_console: fix uapi header
[ Upstream commit 6407d75afd08545f2252bb39806ffd3f10c7faac ]
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
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | include/linux/virtio_console.h | 2 |
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 */ |