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)
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>

No differences found