Re: [PATCH 5/8] mmc: omap_hsmmc: release correct resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi,

On Fri, Apr 20 2012, Chris Ball wrote:
> On Fri, Apr 20 2012, Tony Lindgren wrote:
>> * Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> [120418 03:15]:
>>> res can be one of several resources, as this variable is re-used several
>>> times during probe.  This can cause the wrong resource parameters to be
>>> passed to release_mem_region().
>>> 
>>> Get the original memory resource before calling release_mem_region().
>>> 
>>> Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
>>
>> Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
>
> Thanks, pushed to mmc-next for 3.4.

(Actually, that's premature of me, sorry -- just noticed that this
is part of an RFC patchset.  I'll wait for the rest of the patches.)

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux