From: Antti Palosaari Date: Sat, 5 Apr 2014 20:23:41 +0000 (-0300) Subject: [media] msi001: fix possible integer overflow X-Git-Tag: v3.15-rc1~13^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82932d4cff46627bc1a693893326400aab5f8967;p=pandora-kernel.git [media] msi001: fix possible integer overflow Coverity CID 1196502: Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) Potentially overflowing expression "(f_rf + f_if + f_if1) * lo_div" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic before being used in a context which expects an expression of type "u64" (64 bits, unsigned). To avoid overflow, cast either operand to "u64" before performing the multiplication. Reported-by: Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed