git: d1b3747ba300 - stable/12 - bxe(4): Fix a few common typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 30 Oct 2021 07:50:23 UTC
The branch stable/12 has been updated by gbe (doc committer):

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

commit d1b3747ba3005dcade82439fd3876555319736a1
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:53 +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 */;
 };