lkml.org 
[lkml]   [2015]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 59/79] include/uapi/linux/omapfb.h: use __kernel_size_t instead of size_t
    Date
    Fixes userspace compilation error:

    error: unknown type name ‘size_t’

    Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
    ---
    include/uapi/linux/omapfb.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/include/uapi/linux/omapfb.h b/include/uapi/linux/omapfb.h
    index 7c97bc0..b637a92 100644
    --- a/include/uapi/linux/omapfb.h
    +++ b/include/uapi/linux/omapfb.h
    @@ -181,7 +181,7 @@ struct omapfb_memory_read {
    __u16 y;
    __u16 w;
    __u16 h;
    - size_t buffer_size;
    + __kernel_size_t buffer_size;
    void __user *buffer;
    };

    --
    2.5.0


    \
     
     \ /
      Last update: 2015-10-15 09:21    [W:5.536 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site