On Thursday, May 01, 2014 9:38 AM, Ian Abbott wrote: > Hartley spotted a bug in the upper bound check for the counter 'mode' > value in `i8254_set_mode()` (and the similar `i8254_mm_set_mode()` for > memory-mapped registers). The same incorrect upper bound check was used > in the "amplc_dio200_common" module which uses its own function to set > the counter mode. > > 1) staging: comedi: drivers: correct mode check for i8254_set_mode() > 2) staging: comedi: amplc_dio200_common: correct bound on counter mode > > drivers/staging/comedi/drivers/8253.h | 4 ++-- > drivers/staging/comedi/drivers/amplc_dio200_common.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) Reviewed-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel