Re: [3.15-rc3] BUG: null ptr dereference in ichx_gpio_request_regions()

Linus Walleij
2014-05-08T21:48:34Z

On Wed, May 7, 2014 at 4:33 PM, Peter Hurley <peter@hurleysoftware.com> 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 <vdonnefort@gmail.com>
>>> 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 <linus.walleij@linaro.org>
>>> Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com>
>>> Signed-off-by: Lee Jones <lee.jones@linaro.org>
>>>
>>
>> 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?

Yours,
Linus Walleij