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 <abaci@xxxxxxxxxxxxxxxxx> > Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> > --- > drivers/infiniband/hw/cxgb4/qp.c | 1 + > 1 file changed, 1 insertion(+) Applied to for-next, thanks Jason