OSDN Git Service

Staging: comedi: comedi_open: Fix null pointer dereference.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 9 Feb 2009 16:51:38 +0000 (16:51 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:52 +0000 (14:53 -0700)
commit979200719d35934367bbf97d9b7d22d5b5281dda
tree11e9cced49405fc32e259978a290e8679aab226e
parent56d92c60e6dc708541711e9de4993e7d527d08e8
Staging: comedi: comedi_open: Fix null pointer dereference.

This can happen if other minor devices are used.

From: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c