Re: FAILED: patch "[PATCH] mmc: sdhci-of-at91: fix memleak on clk_get failure" failed to apply to 5.5-stable tree

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

 



On Thu, Feb 06, 2020 at 08:09:50PM -0500, Sasha Levin wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Thu, Feb 06, 2020 at 08:08:47PM +0100, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
> > 
> > The patch below does not apply to the 5.5-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@xxxxxxxxxxxxxxx>.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> > ------------------ original commit in Linus's tree ------------------
> > 
> > From a04184ce777b46e92c2b3c93c6dcb2754cb005e1 Mon Sep 17 00:00:00 2001
> > From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= <mirq-linux@xxxxxxxxxxxx>
> > Date: Thu, 2 Jan 2020 11:42:16 +0100
> > Subject: [PATCH] mmc: sdhci-of-at91: fix memleak on clk_get failure
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=UTF-8
> > Content-Transfer-Encoding: 8bit
> > 
> > sdhci_alloc_host() does its work not using managed infrastructure, so
> > needs explicit free on error path. Add it where needed.
> > 
> > Cc: <stable@xxxxxxxxxxxxxxx>
> > Fixes: bb5f8ea4d514 ("mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC")
> > Signed-off-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>
> > Acked-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx>
> > Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > Link: https://lore.kernel.org/r/b2a44d5be2e06ff075f32477e466598bb0f07b36.1577961679.git.mirq-linux@xxxxxxxxxxxx
> > Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
> 
> We're missing 3976656d67c1 ("mmc: sdhci-of-at91: rework clocks
> management to support SAM9x60 device") on older kernels. I've fixed it
> up and queued for 5.5-4.14. I don't think it applies to older kernels,
> but happy to be proven otherwise.

Thanks Sasha for taking care of this.

Regards

Ludovic

> 
> --
> Thanks,
> Sasha



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux