Message ID | 20211129122517.10424-1-colin.i.king@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Luca Coelho |
Headers | show |
Series | [next] iwlwifi: mei: Fix spelling mistakes in a devfs file and error message | expand |
On 29/11/2021 12:34, Grumbach, Emmanuel wrote: > Hi Colin, > >> 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 <colin.i.king@gmail.com> >> --- >> 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. > >> >> @@ -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); >> } >> >> -- > > I hadn't stop this one. I'll send a V2 with the debugfs fix > >> 2.33.1 >
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); }
There is a spelling mistake in a dev_err message and also in a devfs filename. Fix these. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- drivers/net/wireless/intel/iwlwifi/mei/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)