Skip to content

Commit 39eb028

Browse files
Pavel Machekdavem330
authored andcommitted
cxgb4: fix wrong shift.
While fixing coverity warning, commit dd2c796 introduced typo in shift value. Fix that. Signed-off-by: Pavel Machek (CIP) <[email protected]> Fixes: dd2c796 ("cxgb4: Fix unintentional sign extension issues") Signed-off-by: David S. Miller <[email protected]>
1 parent 1c200f8 commit 39eb028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static void set_nat_params(struct adapter *adap, struct filter_entry *f,
198198
WORD_MASK, f->fs.nat_lip[3] |
199199
f->fs.nat_lip[2] << 8 |
200200
f->fs.nat_lip[1] << 16 |
201-
(u64)f->fs.nat_lip[0] << 25, 1);
201+
(u64)f->fs.nat_lip[0] << 24, 1);
202202
}
203203
}
204204

0 commit comments

Comments
 (0)