From: Dan Carpenter Date: Fri, 31 May 2013 12:55:04 +0000 (-0700) Subject: leds: renesas-tpu: cleanup a small type issue X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb277f5b3a15c895586545d3938dc869e760bec6;p=pandora-kernel.git leds: renesas-tpu: cleanup a small type issue Static checkers complain that, although this is declared as an unsigned long, we can only use the lower 32 bits. For anything higher, we hit bugs widening then bitwise negate or wrapping bugs doing the left shift. From looking at the context, this is not a problem because we only use 16 bits. I've changed some types to make it more clear. Signed-off-by: Dan Carpenter Signed-off-by: Bryan Wu --- Reading git-diff-tree failed