aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2023-06-13 08:15:57 +0000
committerJason Gunthorpe <[email protected]>2023-06-21 17:08:28 +0000
commit147394dbe1237ef1f2da528c238633215f7193e1 (patch)
treeb8fe3f9242ee2cee94049227942e6e32db9f5d0c /drivers/gpu/drm/lima/lima_sched.c
parentRDMA/cma: Remove NULL check before dev_{put, hold} (diff)
downloadkernel-147394dbe1237ef1f2da528c238633215f7193e1.tar.gz
kernel-147394dbe1237ef1f2da528c238633215f7193e1.zip
RDMA/bnxt_re: Initialize opcode while sending message
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' Fixes: bcfee4ce3e01 ("RDMA/bnxt_re: remove redundant cmdq_bitmap") Link: https://lore.kernel.org/r/6ad1e44be2b560986da6fdc6b68da606413e9026.1686644105.git.leonro@nvidia.com Acked-by: Selvin Xavier <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions