As of clang commit llvm/llvm-project@b247698 there is an error instead of a warning when incompatible-pointer-types is encountered, which negates the effects of the patch in the dkms-clang patchset. This results in the latest 6.18 kernel (only one I tested) failing to compile.