Re: [PATCH] Initialize pointer on request_firmware

From: Lucas C. Villa Real
Date: Fri Sep 23 2011 - 11:51:39 EST


On Thu, Sep 22, 2011 at 4:05 PM, Lucas C. Villa Real
<lucasvr@xxxxxxxxxxxxx> wrote:
> On Thu, Sep 22, 2011 at 3:20 PM, Borislav Petkov <bp@xxxxxxxxx> wrote:
>> On Thu, Sep 22, 2011 at 11:03:27AM -0700, Greg KH wrote:
>>> The patch was in the 2.6.36 kernel, so by nature of that, 3.0 will also
>>> have it, right?
>>
>> Ok, a colleague of mine gave me 3.0.4 to stare at - and you're right
>> the patch is there. So what is still missing is caca9510ff4e5 from
>> upstream which reroutes the exit path so that firmware_p is NULLed
>> before returning -EBUSY.
>>
>> Lucas, can you apply caca9510ff4e5 from upstream and verify it fixes the
>> issue for ya?
>
> Sure. I'll do that tonight and will let you now -- the laptop I'm
> using right now doesn't suffer from that problem.

caca9510ff4e5 fixes it. Thanks for the pointer!

Best regards,

--
Lucas
"If you're looking for a reason I've a reason to give: pleasure,
little treasure"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/