aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-05-31 05:55:04 -0700
committerBryan Wu <[email protected]>2013-06-20 16:21:33 -0700
commitfb277f5b3a15c895586545d3938dc869e760bec6 (patch)
treead8bc226b8b965e09bf59c776ed3cefca8503aa9 /lib/mpi/mpi-bit.c
parent84196a2ffbac42f1649cc6e193be6016b233d312 (diff)
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 <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions