]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - lib/test_hmm.c
UBUNTU: Ubuntu-5.11.0-22.23
[mirror_ubuntu-hirsute-kernel.git] / lib / test_hmm.c
index e151a7f105193a17d7a70fd60b5e4e200265ef02..80a78877bd939714ab56d9a155b1e490e915548f 100644 (file)
@@ -461,7 +461,7 @@ static bool dmirror_allocate_chunk(struct dmirror_device *mdevice,
 
        devmem = kzalloc(sizeof(*devmem), GFP_KERNEL);
        if (!devmem)
-               return -ENOMEM;
+               return false;
 
        res = request_free_mem_region(&iomem_resource, DEVMEM_CHUNK_SIZE,
                                      "hmm_dmirror");