History

virtio_console: fix uapi header

uapi should use __u32 not u32. Fix a macro in virtio_console.h which uses u32.

Michael S. Tsirkin committed 13 years ago

Commit 6407d751 parent d2f83e91 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/virtio_console.h+1−1
@@ -39,7 +39,7 @@ · 38 unmodified lines
39#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */39#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
40#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */40#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
41 41
42#define VIRTIO_CONSOLE_BAD_ID (~(u32)0)42#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
43 43
44struct virtio_console_config {44struct virtio_console_config {
45 /* colums of the screens */45 /* colums of the screens */