Re: [PATCH rdma-next] RDMA/usnic: Silence uninitialized symbol smatch warnings

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

 



On Mon, 13 Nov 2023 11:28:02 +0200, Leon Romanovsky wrote:
> The patch 1da177e4c3f4: "Linux-2.6.12-rc2" from Apr 16, 2005
> (linux-next), leads to the following Smatch static checker warning:
> 
>         drivers/infiniband/hw/mthca/mthca_cmd.c:644 mthca_SYS_EN()
>         error: uninitialized symbol 'out'.
> 
> drivers/infiniband/hw/mthca/mthca_cmd.c
>     636 int mthca_SYS_EN(struct mthca_dev *dev)
>     637 {
>     638         u64 out;
>     639         int ret;
>     640
>     641         ret = mthca_cmd_imm(dev, 0, &out, 0, 0, CMD_SYS_EN, CMD_TIME_CLASS_D);
> 
> [...]

Applied, thanks!

[1/1] RDMA/usnic: Silence uninitialized symbol smatch warnings
      https://git.kernel.org/rdma/rdma/c/b9a85e5eec126d

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