lkml.org 
[lkml]   [2013]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: uhid: broken interface: 32/64-bit compatibility
On Fri, 15 Feb 2013, Dmitry Torokhov wrote:

> > Here's my attempt to fix the issue.
> >
> > Not sure if tricks with padding in a good idea. We can just use __u64
> > instead of pointer, but it will require update of userspace to silence
> > cast warning and will cause warning if you will try to use updated
> > userspace with old kernel headers.
> >
> > Any comments?
>
> This does not fix anything really, we simply have to deal with compat
> interface.
>
> Compiled but not tested.
>
> Thanks.

Sorry for late response, I have been extremely busy doing some skiing :-)

Thanks a lot for fixing this embarassing bug, Dmitry. I have now applied
the patch.

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2013-02-18 12:01    [W:0.102 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site