linux/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 misc: change to new flag variable 2011-03-17 14:05:34 +01:00
gru.h gru: improve GRU TLB dropin statistics 2009-12-16 07:20:17 -08:00
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 X86: uv: implement a gru_read_gpa kernel function 2009-12-16 07:20:13 -08:00
grulib.h gru: improve GRU TLB dropin statistics 2009-12-16 07:20:17 -08:00
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 Fix common misspellings 2011-03-31 11:26:23 -03:00
grutlbpurge.c misc: sgi-gru: fix return of error 2015-10-04 12:55:59 +01:00