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
| ||
|
Message-ID: <20191202165921.GB30032@infradead.org> Date: Mon, 2 Dec 2019 08:59:21 -0800 From: Christoph Hellwig <hch@...radead.org> To: Cong Wang <xiyou.wangcong@...il.com> Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org Subject: Re: [Patch v2 2/3] iommu: optimize iova_magazine_free_pfns() > + return (mag && mag->size == IOVA_MAG_SIZE); > + return (!mag || mag->size == 0); No need for the braces in both cases.