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

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t