lkml.org 
[lkml]   [2014]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 51/88] virtio_console: fix uapi header
    Date
    3.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: "Michael S. Tsirkin" <mst@redhat.com>

    commit 6407d75afd08545f2252bb39806ffd3f10c7faac upstream.

    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>
    [bwh: Backported to 3.2: adjust filename]
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    Cc: Yijing Wang <wangyijing@huawei.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    include/linux/virtio_console.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- 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 */



    \
     
     \ /
      Last update: 2014-06-10 03:21    [W:4.231 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site