From: Dan Carpenter Date: Mon, 21 Jun 2010 06:49:25 +0000 (+0200) Subject: Staging: comedi: fix read past end of array in cb_pcidda_attach() X-Git-Tag: v2.6.35-rc4~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=821e67a135d8773c8e9c0b97088b2e64c3d0d631;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed