git: 9ebd651b5850 - main - netvsc: Fix a typo in a comment

Gordon Bergling gbe at FreeBSD.org
Sat Oct 2 08:43:12 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=9ebd651b58502f0572a7832d088f53f7a2ad00a5

commit 9ebd651b58502f0572a7832d088f53f7a2ad00a5
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-10-02 08:42:18 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-10-02 08:42:18 +0000

    netvsc: Fix a typo in a comment
    
    - s/prefered/preferred/
    
    MFC after:      3 days
---
 sys/dev/hyperv/netvsc/hn_rndis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/hyperv/netvsc/hn_rndis.c b/sys/dev/hyperv/netvsc/hn_rndis.c
index 794a82cf3957..108950aa3f9b 100644
--- a/sys/dev/hyperv/netvsc/hn_rndis.c
+++ b/sys/dev/hyperv/netvsc/hn_rndis.c
@@ -493,7 +493,7 @@ hn_rndis_query_rsscaps(struct hn_softc *sc, int *rxr_cnt0)
 
 	/*
 	 * NOTE:
-	 * Toeplitz is at the lowest bit, and it is prefered; so ffs(),
+	 * Toeplitz is at the lowest bit, and it is preferred; so ffs(),
 	 * instead of fls(), is used here.
 	 */
 	hash_fnidx = ffs(caps.ndis_caps & NDIS_RSS_CAP_HASHFUNC_MASK);


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