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: <171466121283.1638184.16945329377468449493.b4-ty@kernel.org>
Date: Thu, 02 May 2024 17:46:52 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Jules Irenge <jbi.octave@...il.com>
Cc: jgg@...pe.ca, linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org, 
 lishifeng@...gfor.com.cn, gustavoars@...nel.org
Subject: Re: [PATCH] RDMA/mlx5: Remove NULL check before dev_{put, hold}


On Wed, 01 May 2024 00:46:42 +0100, Jules Irenge wrote:
> Coccinelle reports a warning
> 
> WARNING: NULL check before dev_{put, hold} functions is not needed
> 
> The reason is the call netdev_{put, hold} of dev_{put,hold} will check NULL
> There is no need to check before using dev_{put, hold}
> 
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: Remove NULL check before dev_{put, hold}
      https://git.kernel.org/rdma/rdma/c/82e966130ddd67

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ