Re: [PATCH] RDMA/cxgb4: Fix missing error code in create_qp()
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-06-04 15:04:00
Also in:
lkml
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-06-04 15:04:00
Also in:
lkml
On Tue, Jun 01, 2021 at 07:07:49PM +0800, Jiapeng Chong wrote:
The error code is missing in this code scenario, add the error code '-EINVAL' to the return value 'ret'. Eliminate the follow smatch warning: drivers/infiniband/hw/cxgb4/qp.c:298 create_qp() warn: missing error code 'ret'. Reported-by: Abaci Robot <redacted> Signed-off-by: Jiapeng Chong <redacted> --- drivers/infiniband/hw/cxgb4/qp.c | 1 + 1 file changed, 1 insertion(+)
Applied to for-next, thanks Jason