Commit 39eb0281 authored by Pavel Machek's avatar Pavel Machek Committed by David S. Miller

cxgb4: fix wrong shift.

While fixing coverity warning, commit dd2c7967 introduced typo in
shift value. Fix that.
Signed-off-by: default avatarPavel Machek (CIP) <pavel@denx.de>
Fixes: dd2c7967 ("cxgb4: Fix unintentional sign extension issues")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c200f83
...@@ -198,7 +198,7 @@ static void set_nat_params(struct adapter *adap, struct filter_entry *f, ...@@ -198,7 +198,7 @@ static void set_nat_params(struct adapter *adap, struct filter_entry *f,
WORD_MASK, f->fs.nat_lip[3] | WORD_MASK, f->fs.nat_lip[3] |
f->fs.nat_lip[2] << 8 | f->fs.nat_lip[2] << 8 |
f->fs.nat_lip[1] << 16 | f->fs.nat_lip[1] << 16 |
(u64)f->fs.nat_lip[0] << 25, 1); (u64)f->fs.nat_lip[0] << 24, 1);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment