commit | 821e67a135d8773c8e9c0b97088b2e64c3d0d631 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Mon Jun 21 08:49:25 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jun 30 08:18:15 2010 -0700 |
tree | ae5f85c583220fd2432a5d9f162143b2d0e1d309 | |
parent | 15d93ed070125d51693f102a0f94045dcaf30d9b [diff] |
Staging: comedi: fix read past end of array in cb_pcidda_attach() There are only 6 elements in the cb_pcidda_boards[] array so the original code read past the end. After this change nothing uses N_BOARDS so I removed the definition. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>