fix: kernel_dev and kernel_type may be used uninitialized in this function