aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/genwqe/card_base.h
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-21 15:48:19 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 12:55:59 +0100
commita9e5fe58265d2af5472ea49ec82428e53ac00431 (patch)
tree7057913f4091ba88adae14e8bbdead5867d88c78 /drivers/misc/genwqe/card_base.h
parentmisc: sgi-gru: gruhandles.c: Remove unused function (diff)
downloadlinux-dev-a9e5fe58265d2af5472ea49ec82428e53ac00431.tar.xz
linux-dev-a9e5fe58265d2af5472ea49ec82428e53ac00431.zip
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>
Diffstat (limited to 'drivers/misc/genwqe/card_base.h')
0 files changed, 0 insertions, 0 deletions