Re: [PATCH] staging: vme: fix for a potential NULL pointer dereference

2013-03-26 Thread Martyn Welch
On 25/03/13 05:37, Kumar Amit Mehta wrote: > Audit the return value of cdev_alloc and hence fixes a potential NULL pointer > dereferencing. > > Signed-off-by: Kumar Amit Mehta Looks good to me, thanks. Signed-off-by: Martyn Welch > --- > drivers/staging/vme/devices/vme_user.c |4 >

[PATCH] staging: vme: fix for a potential NULL pointer dereference

2013-03-24 Thread Kumar Amit Mehta
Audit the return value of cdev_alloc and hence fixes a potential NULL pointer dereferencing. Signed-off-by: Kumar Amit Mehta --- drivers/staging/vme/devices/vme_user.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices