]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
staging: vme: fix for a potential NULL pointer dereference
authorKumar Amit Mehta <gmate.amit@gmail.com>
Mon, 25 Mar 2013 05:37:48 +0000 (22:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:17:33 +0000 (11:17 -0700)
commitd4113a69bc9ca518f492b2ad7d2d586cd2ca5803
treeb77beb0ec28c71834555f431cdf1ef1889bda4ec
parent50e4d3ac039b733400673c62ba57de6ec13b3fbe
staging: vme: fix for a potential NULL pointer dereference

Audit the return value of cdev_alloc and hence fixes a potential NULL pointer
dereferencing.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_user.c