linux/drivers/misc/sgi-gru
Sudip Mukherjee bba57f8f94 drivers/misc/sgi-gru: fix dereference of ERR_PTR
gru_alloc_gts() can fail and it can return ERR_PTR(errvalue). We should
not dereference it if it has returned error. And incase it has returned
error then wait for some time and try again.

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-09-20 19:27:59 -07:00
..
gru_instructions.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
gru.h gru: improve GRU TLB dropin statistics 2009-12-16 07:20:17 -08: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 gru: preload tlb for bcopy instructions 2009-12-16 07:20:16 -08:00
gruhandles.h gru: update GRU structures to match latest hardware spec 2009-12-16 07:20:16 -08: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: fix dereference of ERR_PTR 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 sanitize <linux/prefetch.h> usage 2011-05-20 12:50:29 -07: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 hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
Makefile misc: change to new flag variable 2011-03-17 14:05:34 +01:00