mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
If kzalloc() fails then gms is NULL and we are returning NULL, but the functions which called this function gru_register_mmu_notifier() are not expecting NULL as the return. They are expecting either a valid pointer or the error code in ERR_PTR. Signed-off-by: Sudip Mukherjee <[email protected]> Acked-by: Dimitri Sivanich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>