lkml.org 
[lkml]   [2022]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] firmware: arm_scmi: fix typos in comments
Date
Spelling mistakes (triple letters) in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
drivers/firmware/arm_scmi/driver.c | 2 +-
drivers/firmware/arm_scmi/smc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c
index c1922bd650ae..3846b46eb8f7 100644
--- a/drivers/firmware/arm_scmi/driver.c
+++ b/drivers/firmware/arm_scmi/driver.c
@@ -1117,7 +1117,7 @@ struct scmi_msg_resp_domain_name_get {
* stored as a NULL terminated string.
* @len: The len in bytes of the @name char array.
*
- * Return: 0 on Succcess
+ * Return: 0 on Success
*/
static int scmi_common_extended_name_get(const struct scmi_protocol_handle *ph,
u8 cmd_id, u32 res_id, char *name,
diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
index 745acfdd0b3d..13d59a1d7844 100644
--- a/drivers/firmware/arm_scmi/smc.c
+++ b/drivers/firmware/arm_scmi/smc.c
@@ -236,7 +236,7 @@ const struct scmi_desc scmi_smc_desc = {
* once the SMC instruction has completed successfully, the issued
* SCMI command would have been already fully processed by the SCMI
* platform firmware and so any possible response value expected
- * for the issued command will be immmediately ready to be fetched
+ * for the issued command will be immediately ready to be fetched
* from the shared memory area.
*/
.sync_cmds_completed_on_ret = true,
\
 
 \ /
  Last update: 2022-05-21 13:21    [W:0.071 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site