lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 10 Jan 2022 10:43:13 +0800
From:   Miaoqian Lin <linmq006@...il.com>
To:     Suman Anna <s-anna@...com>
Cc:     Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
        iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
        "Nagalla, Hari" <hnagalla@...com>
Subject: Re: [PATCH] iommu/omap: Fix missing put_device() call in
 omap_iommu_probe_device

Hi Suman Anna,
On Fri, Jan 07, 2022 at 08:42:16AM -0600, Suman Anna wrote:
> Hi Miaoqian,
> 
> 
> > Add the corresponding 'put_device()' in the error handling paths.
> 
> Also, need it in the regular path, not just in error handling path.
I think after calling platform_get_drvdata() normally, the
reference will be released in other functions, so don't need it in the
regular path.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ