diff mbox series

[PATCHv2] cxgb4: fix wrong shift.

Message ID 20210618092948.GA19615@duo.ucw.cz (mailing list archive)
State Accepted
Commit 39eb028183bc7378bb6187067e20bf6d8c836407
Delegated to: Netdev Maintainers
Headers show
Series [PATCHv2] cxgb4: fix wrong shift. | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch warning CHECK: From:/Signed-off-by: email comments mismatch: 'From: Pavel Machek <pavel@denx.de>' != 'Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>'
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Pavel Machek June 18, 2021, 9:29 a.m. UTC
While fixing coverity warning, commit dd2c79677375 introduced typo in
shift value. Fix that.
    
Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
Fixes: dd2c79677375 ("cxgb4: Fix unintentional sign extension issues")

Comments

patchwork-bot+netdevbpf@kernel.org June 18, 2021, 7 p.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri, 18 Jun 2021 11:29:48 +0200 you wrote:
> While fixing coverity warning, commit dd2c79677375 introduced typo in
> shift value. Fix that.
> 
> Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
> Fixes: dd2c79677375 ("cxgb4: Fix unintentional sign extension issues")

Here is the summary with links:
  - [PATCHv2] cxgb4: fix wrong shift.
    https://git.kernel.org/netdev/net/c/39eb028183bc

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
index 22c9ac922eba..6260b3bebd2b 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
@@ -198,7 +198,7 @@  static void set_nat_params(struct adapter *adap, struct filter_entry *f,
 				      WORD_MASK, f->fs.nat_lip[3] |
 				      f->fs.nat_lip[2] << 8 |
 				      f->fs.nat_lip[1] << 16 |
-				      (u64)f->fs.nat_lip[0] << 25, 1);
+				      (u64)f->fs.nat_lip[0] << 24, 1);
 		}
 	}