git: 2ba9bcd97608 - stable/12 - if_hn: Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Feb 2024 08:25:13 UTC
The branch stable/12 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=2ba9bcd97608923c084edd6d7a36bf5b5a73f6be
commit 2ba9bcd97608923c084edd6d7a36bf5b5a73f6be
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:25:06 +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 97346272b993..e638e3ecb58a 100644
--- a/sys/dev/hyperv/netvsc/if_hn.c
+++ b/sys/dev/hyperv/netvsc/if_hn.c
@@ -2532,7 +2532,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 54db556cc56d..ff2da480c0ef 100644
--- a/sys/dev/hyperv/netvsc/if_hnreg.h
+++ b/sys/dev/hyperv/netvsc/if_hnreg.h
@@ -60,7 +60,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