lkml.org 
[lkml]   [2012]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ 068/108] HID: hidraw: add proper error handling to raw event reporting
From
Date
On Mon, 2012-10-08 at 16:34 -0300, Herton Ronaldo Krzesinski wrote:
> On Sun, Oct 07, 2012 at 11:59:42PM +0100, Ben Hutchings wrote:
> > 3.2-stable review patch. If anyone has any objections, please let me know.
> >
> > ------------------
> >
> > From: Jiri Kosina <jkosina@suse.cz>
> >
> > commit b6787242f32700377d3da3b8d788ab3928bab849 upstream.
> >
> > If kmemdup() in hidraw_report_event() fails, we are not propagating
> > this fact properly.
> >
> > Let hidraw_report_event() and hid_report_raw_event() return an error
> > value to the caller.
>
> This needs in addition a small fix on top, commit d6d7c87
> ("HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW")

I've added that, thanks.

Ben.

--
Ben Hutchings
Who are all these weirdos? - David Bowie, about L-Space IRC channel #afp
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-10-10 05:01    [W:0.063 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site