Re: [PATCH rdma-next] RDMA/bnxt_re: Initialize opcode while sending message

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

 



On Tue, 13 Jun 2023 11:15:57 +0300, Leon Romanovsky wrote:
> Fix compilation warning:
> 
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:325:18:
>   error: variable 'opcode' is uninitialized when used here [-Werror,-Wuninitialized]
>         crsqe->opcode = opcode;
>                         ^~~~~~
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:291:11:
>   note: initialize the variable 'opcode' to silence this warning
>         u8 opcode;
>                  ^
>                   = '\0'
> 
> [...]

Applied, thanks!

[1/1] RDMA/bnxt_re: Initialize opcode while sending message
      https://git.kernel.org/rdma/rdma/c/56a1f96d30dc9b

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