On 9/6/23 7:23 PM, Dan Carpenter wrote: > The erdma_create_scatter_mtt() function is supposed to return error > pointers. Returning NULL will lead to an Oops. > > Fixes: ed10435d3583 ("RDMA/erdma: Implement hierarchical MTT") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/infiniband/hw/erdma/erdma_verbs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Cheng Xu <chengyou@xxxxxxxxxxxxxxxxx> Thanks very much! Cheng Xu