Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sparx5: Correct spelling in comments

Correct spelling in comments, as flagged by codespell.

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240424-lan743x-confirm-v2-4-f0480542e39f@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Simon Horman and committed by
Jakub Kicinski
d896a374 49c6e0a8

+9 -9
+1 -1
drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c
··· 143 143 144 144 static void sparx5_fdma_rx_deactivate(struct sparx5 *sparx5, struct sparx5_rx *rx) 145 145 { 146 - /* Dectivate the RX channel */ 146 + /* Deactivate the RX channel */ 147 147 spx5_rmw(0, BIT(rx->channel_id) & FDMA_CH_ACTIVATE_CH_ACTIVATE, 148 148 sparx5, FDMA_CH_ACTIVATE); 149 149
+1 -1
drivers/net/ethernet/microchip/sparx5/sparx5_packet.c
··· 67 67 for (i = 0; i < IFH_LEN; i++) 68 68 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp)); 69 69 70 - /* Decode IFH (whats needed) */ 70 + /* Decode IFH (what's needed) */ 71 71 sparx5_ifh_parse(ifh, &fi); 72 72 73 73 /* Map to port netdev */
+1 -1
drivers/net/ethernet/microchip/sparx5/sparx5_port.c
··· 370 370 /* 6: Wait while the last frame is exiting the queues */ 371 371 usleep_range(8 * spd_prm, 10 * spd_prm); 372 372 373 - /* 7: Flush the queues accociated with the port->portno */ 373 + /* 7: Flush the queues associated with the port->portno */ 374 374 spx5_rmw(HSCH_FLUSH_CTRL_FLUSH_PORT_SET(port->portno) | 375 375 HSCH_FLUSH_CTRL_FLUSH_DST_SET(1) | 376 376 HSCH_FLUSH_CTRL_FLUSH_SRC_SET(1) |
+1 -1
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c
··· 190 190 /* Remove standalone port entry */ 191 191 sparx5_mact_forget(sparx5, ndev->dev_addr, 0); 192 192 193 - /* Port enters in bridge mode therefor don't need to copy to CPU 193 + /* Port enters in bridge mode therefore don't need to copy to CPU 194 194 * frames for multicast in case the bridge is not requesting them 195 195 */ 196 196 __dev_mc_unsync(ndev, sparx5_mc_unsync);
+1 -1
drivers/net/ethernet/microchip/vcap/vcap_ag_api.h
··· 290 290 * Sparx5: TCP flag RST , LAN966x: TCP: TCP flag RST. PTP over UDP: messageType 291 291 * bit 3 292 292 * VCAP_KF_L4_SEQUENCE_EQ0_IS: W1, sparx5: is2/es2, lan966x: is2 293 - * Set if TCP sequence number is 0, LAN966x: Overlayed with PTP over UDP: 293 + * Set if TCP sequence number is 0, LAN966x: Overlaid with PTP over UDP: 294 294 * messageType bit 0 295 295 * VCAP_KF_L4_SPORT: W16, sparx5: is0/is2/es2, lan966x: is1/is2 296 296 * TCP/UDP source port
+2 -2
drivers/net/ethernet/microchip/vcap/vcap_api.c
··· 327 327 } 328 328 329 329 /* Verify that the typegroup information, subword count, keyset and type id 330 - * are in sync and correct, return the list of matchin keysets 330 + * are in sync and correct, return the list of matching keysets 331 331 */ 332 332 int 333 333 vcap_find_keystream_keysets(struct vcap_control *vctrl, ··· 2943 2943 } 2944 2944 EXPORT_SYMBOL_GPL(vcap_netbytes_copy); 2945 2945 2946 - /* Convert validation error code into tc extact error message */ 2946 + /* Convert validation error code into tc extack error message */ 2947 2947 void vcap_set_tc_exterr(struct flow_cls_offload *fco, struct vcap_rule *vrule) 2948 2948 { 2949 2949 switch (vrule->exterr) {
+1 -1
drivers/net/ethernet/microchip/vcap/vcap_api_client.h
··· 238 238 /* Copy to host byte order */ 239 239 void vcap_netbytes_copy(u8 *dst, u8 *src, int count); 240 240 241 - /* Convert validation error code into tc extact error message */ 241 + /* Convert validation error code into tc extack error message */ 242 242 void vcap_set_tc_exterr(struct flow_cls_offload *fco, struct vcap_rule *vrule); 243 243 244 244 /* Cleanup a VCAP instance */
+1 -1
drivers/net/ethernet/microchip/vcap/vcap_api_private.h
··· 109 109 struct vcap_keyset_list *kslist); 110 110 111 111 /* Verify that the typegroup information, subword count, keyset and type id 112 - * are in sync and correct, return the list of matchin keysets 112 + * are in sync and correct, return the list of matching keysets 113 113 */ 114 114 int vcap_find_keystream_keysets(struct vcap_control *vctrl, enum vcap_type vt, 115 115 u32 *keystream, u32 *mskstream, bool mask,