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

Cheng-Han Wu posted 1 patch 3 weeks, 5 days ago
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(-)
[PATCH] kernel-wide: add sturct||struct to spelling.txt
Posted by Cheng-Han Wu 3 weeks, 5 days ago
Add the spelling correction to scripts/spelling.txt
so that checkpatch can catch future occurrences,
and fix the instances found in the source tree.

Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com>
---
 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(-)

diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.h b/drivers/net/wireless/intel/ipw2x00/ipw2200.h
index 19310fd0d..b35539bd0 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.h
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.h
@@ -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;
diff --git a/drivers/vdpa/solidrun/snet_main.c b/drivers/vdpa/solidrun/snet_main.c
index 28d55315d..5c72b1981 100644
--- a/drivers/vdpa/solidrun/snet_main.c
+++ b/drivers/vdpa/solidrun/snet_main.c
@@ -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;
diff --git a/include/linux/pstore_blk.h b/include/linux/pstore_blk.h
index 924ca07aa..51336ae93 100644
--- a/include/linux/pstore_blk.h
+++ b/include/linux/pstore_blk.h
@@ -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.
  */
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 1e89b92c2..bf8c61adf 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1542,6 +1542,7 @@ stoping||stopping
 stoppped||stopped
 straming||streaming
 struc||struct
+sturct||struct
 structres||structures
 stuct||struct
 strucuture||structure
-- 
2.52.0