linux-stable/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
..
gru.h
gru_instructions.h
grufault.c
grufile.c
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
grutables.h
grutlbpurge.c misc: sgi-gru: fix return of error 2015-10-04 12:55:59 +01:00
Makefile