From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066AbaEIHU6 (ORCPT ); Fri, 9 May 2014 03:20:58 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:48484 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753997AbaEIHU5 (ORCPT ); Fri, 9 May 2014 03:20:57 -0400 Date: Fri, 9 May 2014 08:20:50 +0100 From: Lee Jones To: Linus Walleij Cc: Peter Hurley , Vincent Donnefort , Linux kernel Subject: Re: [3.15-rc3] BUG: null ptr dereference in ichx_gpio_request_regions() Message-ID: <20140509072050.GG5767@lee--X1> References: <536A339D.9030606@hurleysoftware.com> <20140507140558.GA26294@ks3318809.kimsufi.com> <536A4454.5020404@hurleysoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 On Thu, 08 May 2014, Linus Walleij wrote: > On Wed, May 7, 2014 at 4:33 PM, Peter Hurley wrote: > > Hi Vincent, > > > > On 05/07/2014 10:05 AM, Vincent Donnefort wrote: > >> > >> Hello Peter, > > > > > >>> This is almost certainly caused by the uninitialized regs ptr > >>> in the ich6_desc struct (i3100_desc struct has the same problem) > >>> introduced in this commit: > >>> > >>> commit bb62a35bd5d96e506af0ea8dd145480b9172a2a6 > >>> Author: Vincent Donnefort > >>> Date: Fri Feb 14 15:01:56 2014 +0100 > >>> > >>> gpio: ich: Add support for multiple register addresses > >>> > >>> This patch introduces regs and reglen pointers which allow a chipset > >>> to have > >>> register addresses differing from ICH ones. > >>> > >>> Acked-by: Linus Walleij > >>> Signed-off-by: Vincent Donnefort > >>> Signed-off-by: Lee Jones > >>> > >> > >> Yes indeed, this must be linked to this thread > >> https://lkml.org/lkml/2014/4/15/292 > > > > > > Thanks for the link. > > > > I searched through LKML but without the driver name or the offending > > function > > in the commit message I couldn't find it. > > > > Linus, > > > > What tree is this bug fix trapped in? I see it didn't make -rc4 either. > > Since the last signoff is Lee I guess it's in the MFD tree? This patch is in Mainline. Search for $SUBJECT. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog