Skip to contentSkip to conversation

iwlwifi: mei: Fix spelling mistakes in a devfs file and error message

PATCH In review Colin Ian King 2 participants 3 messages Nov 29, 2021

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

PATCH 1/1 iwlwifi: mei: Fix spelling mistakes in a devfs file and error message

There is a spelling mistake in a dev_err message and also in a devfs filename. Fix these.

---
 drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/mei/main.c +2 -2
index 112cc362e8e7..ed208f273289 100644
@@ -209,7 +209,7 @@ static void iwl_mei_free_shared_mem(struct mei_cl_device *cldev)
 	struct iwl_mei *mei = mei_cldev_get_drvdata(cldev);
 
 	if (mei_cldev_dma_unmap(cldev))
-		dev_err(&cldev->dev, "Coudln't unmap the shared mem properly\n");
+		dev_err(&cldev->dev, "Couldn't unmap the shared mem properly\n");
 	memset(&mei->shared_mem, 0, sizeof(mei->shared_mem));
 }
 
@@ -1754,7 +1754,7 @@ static void iwl_mei_dbgfs_register(struct iwl_mei *mei)
 			     mei->dbgfs_dir, &iwl_mei_status);
 	debugfs_create_file("send_start_message", S_IWUSR, mei->dbgfs_dir,
 			    mei, &iwl_mei_dbgfs_send_start_message_ops);
-	debugfs_create_file("req_ownserhip", S_IWUSR, mei->dbgfs_dir,
+	debugfs_create_file("req_ownership", S_IWUSR, mei->dbgfs_dir,
 			    mei, &iwl_mei_dbgfs_req_ownership_ops);
 }
 
Signature · 1 line
2.33.1
#1 lore raw

Hi Colin,

Quoted 25 lines

Subject: [PATCH][next] iwlwifi: mei: Fix spelling mistakes in a devfs file and error message

There is a spelling mistake in a dev_err message and also in a devfs filename. Fix these.

---
 drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/mei/main.c +1 -1
index 112cc362e8e7..ed208f273289 100644
@@ -209,7 +209,7 @@ static void iwl_mei_free_shared_mem(struct
 mei_cl_device *cldev)
 	struct iwl_mei *mei = mei_cldev_get_drvdata(cldev);
 
 	if (mei_cldev_dma_unmap(cldev))
-		dev_err(&cldev->dev, "Coudln't unmap the shared mem
 properly\n");
+		dev_err(&cldev->dev, "Couldn't unmap the shared mem
 properly\n");
Quoted 2 lines

memset(&mei->shared_mem, 0, sizeof(mei->shared_mem));
}

I fixed this one already in a separate patch that hasn't been applied yet.

Quoted 12 lines
drivers/net/wireless/intel/iwlwifi/mei/main.c +1 -1
@@ -1754,7 +1754,7 @@ static void iwl_mei_dbgfs_register(struct iwl_mei
 *mei)
 			     mei->dbgfs_dir, &iwl_mei_status);
 	debugfs_create_file("send_start_message", S_IWUSR, mei-
 >dbgfs_dir,
 			    mei, &iwl_mei_dbgfs_send_start_message_ops);
-	debugfs_create_file("req_ownserhip", S_IWUSR, mei->dbgfs_dir,
+	debugfs_create_file("req_ownership", S_IWUSR, mei->dbgfs_dir,
 			    mei, &iwl_mei_dbgfs_req_ownership_ops);

}

Quoted 1 line

--

I hadn't stop this one.

Quoted 1 line

2.33.1

#2 lore raw
Quoted 44 lines · Emmanuel

Hi Colin,

Quoted 25 lines

Subject: [PATCH][next] iwlwifi: mei: Fix spelling mistakes in a devfs file and error message

There is a spelling mistake in a dev_err message and also in a devfs filename. Fix these.

---
  drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/mei/main.c +1 -1
index 112cc362e8e7..ed208f273289 100644
@@ -209,7 +209,7 @@ static void iwl_mei_free_shared_mem(struct
 mei_cl_device *cldev)
  	struct iwl_mei *mei = mei_cldev_get_drvdata(cldev);
 
  	if (mei_cldev_dma_unmap(cldev))
-		dev_err(&cldev->dev, "Coudln't unmap the shared mem
 properly\n");
+		dev_err(&cldev->dev, "Couldn't unmap the shared mem
 properly\n");
Quoted 2 lines
  	memset(&mei->shared_mem, 0, sizeof(mei->shared_mem));
  }

I fixed this one already in a separate patch that hasn't been applied yet.

Quoted 12 lines
drivers/net/wireless/intel/iwlwifi/mei/main.c +1 -1
@@ -1754,7 +1754,7 @@ static void iwl_mei_dbgfs_register(struct iwl_mei
 *mei)
  			     mei->dbgfs_dir, &iwl_mei_status);
  	debugfs_create_file("send_start_message", S_IWUSR, mei-
 > dbgfs_dir,
  			    mei, &iwl_mei_dbgfs_send_start_message_ops);
-	debugfs_create_file("req_ownserhip", S_IWUSR, mei->dbgfs_dir,
+	debugfs_create_file("req_ownership", S_IWUSR, mei->dbgfs_dir,
  			    mei, &iwl_mei_dbgfs_req_ownership_ops);
  }
Quoted 3 lines
Quoted 1 line

--

I hadn't stop this one.

I'll send a V2 with the debugfs fix

Quoted 3 lines
Quoted 2 lines

2.33.1