]> git.baikalelectronics.ru Git - kernel.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)
commitcfc713a7a4d5a3939ea39c105c9e8d6033b696f2
treeb77beb0ec28c71834555f431cdf1ef1889bda4ec
parent3b6acd79f82177711dca40fe899adfc5dcdd0df3
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