RE: [PATCH 0/2] staging: comedi: correct upper bound check for 8254 mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux