From: H Hartley Sweeten Date: Mon, 25 Aug 2014 22:23:50 +0000 (-0700) Subject: staging: comedi: ni_mio_common: fix local var for 32-bit read X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1072 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0557344e21497fce9475dfe3f41fd92d57d8a274;p=pandora-kernel.git staging: comedi: ni_mio_common: fix local var for 32-bit read The local variable 'd' is used to read a 32-bit register. One branch of the code shifts the register value 16 bits to the right to get the high 16-bits. Change the type of the local variable so that this shift works correctly. Reported by: coverity Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed