Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 08:24:59 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a8ed50b57e04 - stable/13 - if_hn: Fix two typos in source code comments
Message-ID:  <202402270824.41R8OxGh044039@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe:

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

commit a8ed50b57e042c5bcb788c888b49ecd713f34279
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-02-24 09:13:44 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-02-27 08:24:52 +0000

    if_hn: Fix two typos in source code comments
    
    - s/managment/management/
    - s/transacion/transaction/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit 61b88a230bac766f55984d8d33b98845d2b0d1a9)
---
 sys/dev/hyperv/netvsc/if_hn.c    | 2 +-
 sys/dev/hyperv/netvsc/if_hnreg.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c
index 0aa7e6fd40fc..a18f608e1aab 100644
--- a/sys/dev/hyperv/netvsc/if_hn.c
+++ b/sys/dev/hyperv/netvsc/if_hn.c
@@ -2535,7 +2535,7 @@ hn_detach(device_t dev)
 				hn_stop(sc, true);
 			/*
 			 * NOTE:
-			 * hn_stop() only suspends data, so managment
+			 * hn_stop() only suspends data, so management
 			 * stuffs have to be suspended manually here.
 			 */
 			hn_suspend_mgmt(sc);
diff --git a/sys/dev/hyperv/netvsc/if_hnreg.h b/sys/dev/hyperv/netvsc/if_hnreg.h
index 59ed38b71c72..bc6256bb375b 100644
--- a/sys/dev/hyperv/netvsc/if_hnreg.h
+++ b/sys/dev/hyperv/netvsc/if_hnreg.h
@@ -58,7 +58,7 @@
 #define HN_NVS_RNDIS_MTYPE_CTRL		1
 
 /*
- * NVS message transacion status codes.
+ * NVS message transaction status codes.
  */
 #define HN_NVS_STATUS_OK		1
 #define HN_NVS_STATUS_FAILED		2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402270824.41R8OxGh044039>