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] [day] [month] [year] [list]
Message-ID: <YxpK2XxR8A+oESV5@P9FQF9L96D.corp.robot.car>
Date:   Thu, 8 Sep 2022 13:04:41 -0700
From:   Roman Gushchin <roman.gushchin@...ux.dev>
To:     Jingyu Wang <jingyuwang_vip@....com>
Cc:     akpm@...ux-foundation.org, ebiederm@...ssion.com, hbh25y@...il.com,
        legion@...nel.org, longman@...hat.com, songmuchun@...edance.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipc: mqueue: remove unnecessary conditionals

On Fri, Sep 09, 2022 at 02:54:52AM +0800, Jingyu Wang wrote:
> iput() has already handled null and non-null parameter, so it is no
> need to use if().
> 
> Signed-off-by: Jingyu Wang <jingyuwang_vip@....com>

Acked-by: Roman Gushchin <roman.gushchin@...ux.dev>

Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ