uapi should use __u32 not u32. Fix a macro in virtio_console.h which uses u32.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -39,7 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */ |
| 40 | 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 | |
| 44 | 44 | struct virtio_console_config { |
| 45 | 45 | /* colums of the screens */ |