From: Dan Carpenter Date: Mon, 28 Dec 2009 16:59:01 +0000 (+0200) Subject: Staging: comedi: reorder check in pcmmio_attach() X-Git-Tag: v2.6.34-rc1~10^2~1^2~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b2ba24399cfcd7c80a20cd3bbedc5df0ebd4345;p=pandora-kernel.git Staging: comedi: reorder check in pcmmio_attach() The check for dio_num_asics is used to determine if there is more than 1 irq. If it is false then irq[1] is past the end of the array. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed