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

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Apr 21 05:48:49 EDT 2012


On Fri, Apr 20, 2012 at 10:35:59PM -0400, Chris Ball wrote:
> Hi,
> 
> On Fri, Apr 20 2012, Chris Ball wrote:
> > On Fri, Apr 20 2012, Tony Lindgren wrote:
> >> * Russell King <rmk+kernel at arm.linux.org.uk> [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 at arm.linux.org.uk>
> >>
> >> Acked-by: Tony Lindgren <tony at atomide.com>
> >
> > 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.)

It was previously posted as an entirely separate patch - the reason its
part of this RFC is because I needed the patch while developing this
series.  So please go ahead and take _this_ patch.



More information about the linux-arm-kernel mailing list