From: Dmitry Torokhov Date: Sat, 5 Sep 2015 17:19:38 +0000 (-0700) Subject: Input: walkera0701 - fix abs() calculations on 64 bit values X-Git-Tag: omap-for-v4.3/fixes-rc5~48^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b018fa95003f8159f5fcf9b8cd89acaea34e31;p=pandora-kernel.git Input: walkera0701 - fix abs() calculations on 64 bit values abs() function can not be used with 64 bit values, so let's switch to abs64(). From include/linux/kernel.h: /* * abs() handles unsigned and signed longs, ints, shorts and chars. * For all input types abs() returns a signed long. * abs() should not be used for 64-bit types (s64, u64, long long) * - use abs64() for those. */ Reported-by: Joe Perches Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed