Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2021 07:49:24 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: 499506ac09b4 - stable/13 - bxe(4): Fix a few common typos in source code comments
Message-ID:  <202110300749.19U7nOAm030650@gitrepo.freebsd.org>

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

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

commit 499506ac09b489cac1a19d8842b968bcdbc24e38
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-10-27 04:15:06 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-10-30 07:49:09 +0000

    bxe(4): Fix a few common typos in source code comments
    
    - s/controled/controlled/
    - s/allignment/alignment/
    
    (cherry picked from commit 80abcfbdfe1af72318c2c0b1690013f43e875267)
---
 sys/dev/bxe/bxe_elink.c | 4 ++--
 sys/dev/bxe/ecore_hsi.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/bxe/bxe_elink.c b/sys/dev/bxe/bxe_elink.c
index bdd8affdb437..dd77e9301ab0 100644
--- a/sys/dev/bxe/bxe_elink.c
+++ b/sys/dev/bxe/bxe_elink.c
@@ -4418,7 +4418,7 @@ static uint8_t elink_ext_phy_resolve_fc(struct elink_phy *phy,
 	uint8_t ret = 0;
 	vars->flow_ctrl = ELINK_FLOW_CTRL_NONE;
 	if (phy->req_flow_ctrl != ELINK_FLOW_CTRL_AUTO) {
-		/* Update the advertised flow-controled of LD/LP in AN */
+		/* Update the advertised flow-controlled of LD/LP in AN */
 		if (phy->req_line_speed == ELINK_SPEED_AUTO_NEG)
 			elink_ext_phy_update_adv_fc(phy, params, vars);
 		/* But set the flow-control result as the requested one */
@@ -6262,7 +6262,7 @@ static void elink_flow_ctrl_resolve(struct elink_phy *phy,
 
 	/* Resolve from gp_status in case of AN complete and not sgmii */
 	if (phy->req_flow_ctrl != ELINK_FLOW_CTRL_AUTO) {
-		/* Update the advertised flow-controled of LD/LP in AN */
+		/* Update the advertised flow-controlled of LD/LP in AN */
 		if (phy->req_line_speed == ELINK_SPEED_AUTO_NEG)
 			elink_update_adv_fc(phy, params, vars, gp_status);
 		/* But set the flow-control result as the requested one */
diff --git a/sys/dev/bxe/ecore_hsi.h b/sys/dev/bxe/ecore_hsi.h
index 5048ff5dfc78..22f0767e6b0f 100644
--- a/sys/dev/bxe/ecore_hsi.h
+++ b/sys/dev/bxe/ecore_hsi.h
@@ -9448,7 +9448,7 @@ struct iscsi_cq_db
 	struct iscsi_cq_db_prod_pnd_cmpltn_cnt_arr cq_u_prod_pend_comp_ctr_arr /* Ustorm CQ producer and pending completion counter array, updated by Ustorm */;
 	struct iscsi_cq_db_pnd_comp_itt_arr cq_c_pend_comp_itt_arr /* Cstorm CQ pending completion ITT array, updated by Cstorm */;
 	struct iscsi_cq_db_sqn_2_notify_arr cq_drv_sqn_2_notify_arr /* Cstorm CQ sequence to notify array, updated by driver */;
-	uint32_t reserved[4] /* 16 byte allignment */;
+	uint32_t reserved[4] /* 16 byte alignment */;
 };
 
 



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