mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-04-07 17:42:15 +00:00

If 'kzalloc' fails, we return 0 which means success. return -ENOMEM instead as already done a few lines above. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>