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: <174971755850.3783297.3332209818695020969.b4-ty@kernel.org>
Date: Thu, 12 Jun 2025 04:39:18 -0400
From: Leon Romanovsky <leon@...nel.org>
To: linux-rdma@...r.kernel.org, Jason Gunthorpe <jgg@...pe.ca>, 
 Potnuri Bharat Teja <bharat@...lsio.com>, 
 Markus Elfring <Markus.Elfring@....de>
Cc: LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] RDMA/cxgb4: Delete an unnecessary check before kfree()
 in c4iw_rdev_open()


On Tue, 10 Jun 2025 14:20:17 +0200, Markus Elfring wrote:
> It can be known that the function “kfree” performs a null pointer check
> for its input parameter.
> It is therefore not needed to repeat such a check before its call.
> 
> Thus remove a redundant pointer check.
> 
> The source code was transformed by using the Coccinelle software.
> 
> [...]

Applied, thanks!

[1/1] RDMA/cxgb4: Delete an unnecessary check before kfree() in c4iw_rdev_open()
      https://git.kernel.org/rdma/rdma/c/fd383bf8b6954d

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ