Staging: comedi: off by one in doDevConfig()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Dec 2009 16:57:51 +0000 (18:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:38 +0000 (16:42 -0800)
commit5d3aed742498ffe5692e3f974f3f7ea0e99a93bb
treeec084b765055a81cc9c25f6f9a088e76fb1ab029
parentef4ffb7ade54f7669172cf5cead69695e588c06a
Staging: comedi: off by one in doDevConfig()

Changed > to >= to avoid array overflow.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/comedi_bond.c