]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: qed: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Mon, 3 Feb 2025 17:53:24 +0000 (19:53 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Feb 2025 22:04:38 +0000 (14:04 -0800)
There are some typos in comments/messages:
 - Valiate -> Validate
 - acceptible -> acceptable
 - acces -> access
 - relased -> released

Fix them via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250203175419.4146-1-algonell@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_sriov.c

index fa167b1aa01909a84719d3fe126d49648566a225..5222a035fd198df1975a3689b28b87e70586d324 100644 (file)
@@ -3033,7 +3033,7 @@ static void qed_iov_vf_mbx_vport_update(struct qed_hwfn *p_hwfn,
        u16 length;
        int rc;
 
-       /* Valiate PF can send such a request */
+       /* Validate PF can send such a request */
        if (!vf->vport_instance) {
                DP_VERBOSE(p_hwfn,
                           QED_MSG_IOV,
@@ -3312,7 +3312,7 @@ static void qed_iov_vf_mbx_ucast_filter(struct qed_hwfn *p_hwfn,
                goto out;
        }
 
-       /* Determine if the unicast filtering is acceptible by PF */
+       /* Determine if the unicast filtering is acceptable by PF */
        if ((p_bulletin->valid_bitmap & BIT(VLAN_ADDR_FORCED)) &&
            (params.type == QED_FILTER_VLAN ||
             params.type == QED_FILTER_MAC_VLAN)) {
@@ -3729,7 +3729,7 @@ qed_iov_execute_vf_flr_cleanup(struct qed_hwfn *p_hwfn,
 
                rc = qed_iov_enable_vf_access(p_hwfn, p_ptt, p_vf);
                if (rc) {
-                       DP_ERR(p_hwfn, "Failed to re-enable VF[%d] acces\n",
+                       DP_ERR(p_hwfn, "Failed to re-enable VF[%d] access\n",
                               vfid);
                        return rc;
                }
@@ -4480,7 +4480,7 @@ int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled)
                struct qed_ptt *ptt = qed_ptt_acquire(hwfn);
 
                /* Failure to acquire the ptt in 100g creates an odd error
-                * where the first engine has already relased IOV.
+                * where the first engine has already released IOV.
                 */
                if (!ptt) {
                        DP_ERR(hwfn, "Failed to acquire ptt\n");