Skip to contentSkip to conversation

kernel-wide: add sturct||struct to spelling.txt

PATCH New Cheng-Han Wu 1 participant 1 message Mar 12

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-wide: add sturct||struct to spelling.txt

Add the spelling correction to scripts/spelling.txt so that checkpatch can catch future occurrences, and fix the instances found in the source tree.

---
 drivers/net/wireless/intel/ipw2x00/ipw2200.h | 2 +-
 drivers/vdpa/solidrun/snet_main.c            | 2 +-
 include/linux/pstore_blk.h                   | 2 +-
 scripts/spelling.txt                         | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)
drivers/net/wireless/intel/ipw2x00/ipw2200.h +1 -1
index 19310fd0d..b35539bd0 100644
@@ -344,7 +344,7 @@ enum connection_manager_assoc_states {
 #define IPW_TX_QUEUE_3        3
 #define IPW_TX_QUEUE_4        4
 
-/* QoS sturctures */
+/* QoS structures */
 struct ipw_qos_info {
 	int qos_enable;
 	struct libipw_qos_parameters *def_qos_parm_OFDM;
drivers/vdpa/solidrun/snet_main.c +1 -1
index 28d55315d..5c72b1981 100644
@@ -87,7 +87,7 @@ static int snet_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area,
 			       u64 driver_area, u64 device_area)
 {
 	struct snet *snet = vdpa_to_snet(vdev);
-	/* save received parameters in vqueue sturct */
+	/* save received parameters in vqueue struct */
 	snet->vqs[idx]->desc_area = desc_area;
 	snet->vqs[idx]->driver_area = driver_area;
 	snet->vqs[idx]->device_area = device_area;
include/linux/pstore_blk.h +1 -1
index 924ca07aa..51336ae93 100644
@@ -46,7 +46,7 @@ struct pstore_blk_config {
 /**
  * pstore_blk_get_config - get a copy of the pstore_blk backend configuration
  *
- * @info:	The sturct pstore_blk_config to be filled in
+ * @info:	The struct pstore_blk_config to be filled in
  *
  * Failure returns negative error code, and success returns 0.
  */
scripts/spelling.txt +1 -0
index 1e89b92c2..bf8c61adf 100644
@@ -1542,6 +1542,7 @@ stoping||stopping
 stoppped||stopped
 straming||streaming
 struc||struct
+sturct||struct
 structres||structures
 stuct||struct
 strucuture||structure
Signature · 1 line
2.52.0