From: H Hartley Sweeten Date: Fri, 20 Feb 2015 19:52:27 +0000 (-0700) Subject: staging: comedi: cb_pcidas64: fix possible integer overflow X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~753 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f5fc964866dabec6db6e7eaf8865838b1436a8e;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed