WSL2-Linux-Kernel/drivers/misc/sgi-gru
Sudip Mukherjee a9e5fe5826 misc: sgi-gru: fix return of error
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 <sudip@vectorindia.org>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 12:55:59 +01:00
..
Makefile
gru.h
gru_instructions.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
grufault.c drivers/misc/sgi-gru/grufault.c: fix a sanity test in gru_set_context_option() 2013-07-03 16:07:42 -07:00
grufile.c x86/UV: Fix conditional in gru_exit() 2014-04-01 12:10:45 +02:00
gruhandles.c misc: sgi-gru: gruhandles.c: Remove unused function 2015-10-04 12:55:59 +01:00
gruhandles.h misc: sgi-gru: gruhandles.c: Remove unused function 2015-10-04 12:55:59 +01:00
grukdump.c drivers/misc/sgi-gru: remove always false condition 2015-09-20 19:27:59 -07:00
grukservices.c drivers/misc/sgi-gru: remove unused variable 2015-09-20 19:27:59 -07:00
grukservices.h
grulib.h
grumain.c misc: sgi-gru: use time_before() 2015-10-04 12:55:59 +01:00
gruprocfs.c misc: replace strict_strtoul() with kstrtoul() 2013-06-06 12:54:08 -07:00
grutables.h
grutlbpurge.c misc: sgi-gru: fix return of error 2015-10-04 12:55:59 +01:00