diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-05-17 10:44:15 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-05-20 10:25:28 +0930 |
commit | 6407d75afd08545f2252bb39806ffd3f10c7faac (patch) | |
tree | ff52e0c954bcc2a221d95dbaea83e3e1d03c854f /include | |
parent | d2f83e9078b8114e3b9d09082856c1aac299aa37 (diff) | |
download | linux-6407d75afd08545f2252bb39806ffd3f10c7faac.tar.bz2 |
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.h | 2 |
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 */ |