Re: [PATCH rdma-next 1/2] RDMA/nldev: Add NULL check to silence false warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 28 Nov 2022 13:52:45 +0200, Leon Romanovsky wrote:
> From: Or Har-Toov <ohartoov@xxxxxxxxxx>
> 
> Using nlmsg_put causes static analysis tools to many
> false positives of not checking the return value of nlmsg_put.
> 
> In all uses in nldev.c, payload parameter is 0 so NULL will never
> be returned. So let's add useless checks to silence the warnings.
> 
> [...]

Applied, thanks!

[1/2] RDMA/nldev: Add NULL check to silence false warnings
      https://git.kernel.org/rdma/rdma/c/67e6272d53386f
[2/2] RDMA/nldev: Fix failure to send large messages
      https://git.kernel.org/rdma/rdma/c/fc8f93ad3e5485

Best regards,
-- 
Leon Romanovsky <leon@xxxxxxxxxx>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux