git: 22b20b45c911 - main - e1000: Fix variable typo

Kevin Bowling kbowling at FreeBSD.org
Wed Sep 15 23:23:03 UTC 2021


The branch main has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=22b20b45c9118bf6ef313c074cdb107a1eaca78e

commit 22b20b45c9118bf6ef313c074cdb107a1eaca78e
Author:     Kevin Bowling <kbowling at FreeBSD.org>
AuthorDate: 2021-09-15 16:18:59 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-09-15 16:18:59 +0000

    e1000: Fix variable typo
    
    Forgot to git add this in last commit
    
    Reported by:    jenkins
    Fixes:          2796f7cab107
    MFC after:      2 week
---
 sys/dev/e1000/if_em.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 7900e550c55f..b533ee3962c2 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3323,7 +3323,7 @@ em_initialize_receive_unit(if_ctx_t ctx)
 				psize += VLAN_TAG_SIZE;
 
 			if (adapter->vf_ifp)
-				e1000_rlpml_set_vf(hw, pszie);
+				e1000_rlpml_set_vf(hw, psize);
 			else
 				E1000_WRITE_REG(hw, E1000_RLPML, psize);
 		}


More information about the dev-commits-src-all mailing list