lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFT PATCH v2 1/2] memory: fsl_ifc: fix leaking IO mapping on probe failure
Date
On Thu, 27 May 2021 11:43:21 -0400, Krzysztof Kozlowski wrote:
> On probe error the driver should unmap the IO memory. Smatch reports:
>
> drivers/memory/fsl_ifc.c:298 fsl_ifc_ctrl_probe() warn: 'fsl_ifc_ctrl_dev->gregs' not released on lines: 298.

Applied, thanks!

[1/2] memory: fsl_ifc: fix leaking IO mapping on probe failure
commit: 3b132ab67fc7a358fff35e808fa65d4bea452521
[2/2] memory: fsl_ifc: fix leak of private memory on probe failure
commit: 8e0d09b1232d0538066c40ed4c13086faccbdff6

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

\
 
 \ /
  Last update: 2021-06-10 09:28    [W:0.046 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site