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]
Message-ID: <20200107155110.GA2677547@devbig004.ftw2.facebook.com>
Date:   Tue, 7 Jan 2020 07:51:10 -0800
From:   Tejun Heo <tj@...nel.org>
To:     mateusznosek0@...il.com
Cc:     linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org
Subject: Re: [PATCH] fs/kernfs/dir.c: Clean code by removing always true
 condition

On Mon, Dec 30, 2019 at 08:16:28PM +0100, mateusznosek0@...il.com wrote:
> From: Mateusz Nosek <mateusznosek0@...il.com>
> 
> Previously there was an additional check if variable pos is not null.
> However, this check happens after entering while loop and only then,
> which can happen only if pos is not null.
> Therefore the additional check is redundant and can be removed.
> 
> Signed-off-by: Mateusz Nosek <mateusznosek0@...il.com>

Acked-by: Tejun Heo <tj@...nel.org>

Greg, can you please route this one?

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ