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

Subsystems: intel wireless wifi link (iwlwifi), the rest

STALE1717d

3 messages, 2 authors, 2021-11-29 · open the first message on its own page

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

From: Colin Ian King <hidden>
Date: 2021-11-29 13:43:07

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

Signed-off-by: Colin Ian King <redacted>
---
 drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c b/drivers/net/wireless/intel/iwlwifi/mei/main.c
index 112cc362e8e7..ed208f273289 100644
--- a/drivers/net/wireless/intel/iwlwifi/mei/main.c
+++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c
@@ -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);
 }
 
-- 
2.33.1

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

From: Grumbach, Emmanuel <hidden>
Date: 2021-11-29 12:36:53

Hi Colin,
quoted hunk
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.

Signed-off-by: Colin Ian King <redacted>
---
 drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c
b/drivers/net/wireless/intel/iwlwifi/mei/main.c
index 112cc362e8e7..ed208f273289 100644
--- a/drivers/net/wireless/intel/iwlwifi/mei/main.c
+++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c
@@ -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));
 }
I fixed this one already in a separate patch that hasn't been applied yet.
quoted hunk
@@ -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-
quoted
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);
 }

--
I hadn't stop this one.
2.33.1

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

From: Colin King (gmail) <hidden>
Date: 2021-11-29 14:07:57

On 29/11/2021 12:34, Grumbach, Emmanuel wrote:
Hi Colin,
quoted
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.

Signed-off-by: Colin Ian King <redacted>
---
  drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c
b/drivers/net/wireless/intel/iwlwifi/mei/main.c
index 112cc362e8e7..ed208f273289 100644
--- a/drivers/net/wireless/intel/iwlwifi/mei/main.c
+++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c
@@ -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));
  }
I fixed this one already in a separate patch that hasn't been applied yet.
quoted
@@ -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-
quoted
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);
  }

--
I hadn't stop this one.
I'll send a V2 with the debugfs fix
quoted
2.33.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help