Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752777Ab2JHTeT (ORCPT ); Mon, 8 Oct 2012 15:34:19 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:40403 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260Ab2JHTeR (ORCPT ); Mon, 8 Oct 2012 15:34:17 -0400 Date: Mon, 8 Oct 2012 16:34:10 -0300 From: Herton Ronaldo Krzesinski To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Jiri Kosina , Oliver Neukum Subject: Re: [ 068/108] HID: hidraw: add proper error handling to raw event reporting Message-ID: <20121008193409.GC3004@herton-Z68MA-D2H-B3> References: <20121007225834.673681075@decadent.org.uk> <20121007225844.105600523@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121007225844.105600523@decadent.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 853 Lines: 26 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 > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/