Staging: comedi: apci3200: fix test of ui_DelayTime range in i_APCI3200_CommandTestAn...
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 25 Aug 2009 13:19:27 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:29 +0000 (12:02 -0700)
commit7ff177a88782461893316a512e75a3f169fbae8b
treefcd6cee9c8d5ab6408406fae714a77c4d489a0d6
parent48c8276d7ac534d62c594c9a493130ff9137675d
Staging: comedi: apci3200: fix test of ui_DelayTime range in i_APCI3200_CommandTestAnalogInput()

For ui_DelayTime to be less than 1 and greater than 1023 is logically
impossible.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c