./drivers/infiniband/core/cma.c:713:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. ./drivers/infiniband/core/cma.c:2433:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. In the following kernel version: name: linux-next url: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git branch: next-20230330 commit: a6d9e3034536ba4b68ac34490c02267e6eec9c05