From: Ian Abbott Date: Wed, 20 Jan 2010 13:04:50 +0000 (+0000) Subject: Staging: comedi: pcl816: Check channel list in AI command test X-Git-Tag: v2.6.34-rc1~10^2~1^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64a1f7bd56e0f26bd4dd621805facffde9fbb0a3;p=pandora-kernel.git Staging: comedi: pcl816: Check channel list in AI command test Check the channel list is valid in step 5 of the AI command test. Split function check_and_setup_channel_list() in two. Also, remove unnecessary chanlist_len tests in step 3 of the AI command test as the comedi core has already checked it. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed