[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121008193409.GC3004@herton-Z68MA-D2H-B3>
Date: Mon, 8 Oct 2012 16:34:10 -0300
From: Herton Ronaldo Krzesinski <herton.krzesinski@...onical.com>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
Jiri Kosina <jkosina@...e.cz>, Oliver Neukum <oneukum@...e.de>
Subject: Re: [ 068/108] HID: hidraw: add proper error handling to raw event
reporting
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@...e.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")
--
[]'s
Herton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists