commit | 1f5fc964866dabec6db6e7eaf8865838b1436a8e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Feb 20 12:52:27 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 01 18:47:39 2015 -0800 |
tree | e9f6d7b170b64e91596fd9863ddc691b5d5ef10e | |
parent | 4f456c8034ad993eb6908b8a53216bca7afe9f1f [diff] |
staging: comedi: cb_pcidas64: fix possible integer overflow The {min,max}_scan_divisor values could overflow due to the unsigned int * insigned int calculation. Change the type of the local variable 'convert_divisor' to unsigned long long to avoid the possible overflow. Reported-by: coverity (CID 200653) Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>