sfc: unfix not-a-typo in comment
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 31 Jul 2025 14:41:38 +0000 (15:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 1 Aug 2025 21:16:33 +0000 (14:16 -0700)
Commit fe09560f8241 ("net: Fix typos") removed duplicated word 'fallback',
 but this was not a typo and change altered the semantic meaning of
 the comment.
Partially revert, using the phrase 'fallback of the fallback' to make
 the meaning more clear to future readers so that they won't try to
 change it again.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250731144138.2637949-1-edward.cree@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/tc_encap_actions.c

index 2258f854e5bed17e8b30ff07992dd2c3016b62d8..e872f926e43828902514cd6f74d182279223b325 100644 (file)
@@ -442,7 +442,7 @@ static void efx_tc_update_encap(struct efx_nic *efx,
                        rule = container_of(acts, struct efx_tc_flow_rule, acts);
                        if (rule->fallback)
                                fallback = rule->fallback;
-                       else /* fallback: deliver to PF */
+                       else /* fallback of the fallback: deliver to PF */
                                fallback = &efx->tc->facts.pf;
                        rc = efx_mae_update_rule(efx, fallback->fw_id,
                                                 rule->fw_id);