diff options
author | 2013-01-17 07:18:29 +0000 | |
---|---|---|
committer | 2013-01-17 15:04:30 -0500 | |
commit | 13b6d2e6c25dd33f94873b771ad7de3550da5125 (patch) | |
tree | af193686297ae611a69c5166a24ebc3f0c5a0d8d /lib/cpu_rmap.c | |
parent | Merge branch 'wireless' (diff) | |
download | linux-dev-13b6d2e6c25dd33f94873b771ad7de3550da5125.tar.xz linux-dev-13b6d2e6c25dd33f94873b771ad7de3550da5125.zip |
3c574_cs: fix operator precedence between << and &
The code to print the FIFO size in tc574_config computes it as:
8 << config & Ram_size
which evaluates the '<<' first, but the actual intent is to evaluate the
'&' first. Add parentheses to enforce desired evaluation order.
Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions