./drivers/infiniband/core/cma.c:4812:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. In the following kernel version: name: linux-next url:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git branch: next-20230613 commit: 1f6ce8392d6ff486af5ca96df9ded5882c4b6977