diff mbox series

[1/5] firmware: scmi: fix description of an API function

Message ID 20211108075611.30759-1-etienne.carriere@linaro.org
State Accepted
Commit 5ddbbd19576c33f584da056c78778268dcb6ad67
Headers show
Series [1/5] firmware: scmi: fix description of an API function | expand

Commit Message

Etienne Carriere Nov. 8, 2021, 7:56 a.m. UTC
Correct inline comment describing API function devm_scmi_process_msg().

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
---
 include/scmi_agent.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Patrick DELAUNAY Nov. 8, 2021, 9:51 a.m. UTC | #1
Hi

On 11/8/21 8:56 AM, Etienne Carriere wrote:
> Correct inline comment describing API function devm_scmi_process_msg().
>
> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
> ---
>   include/scmi_agent.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/scmi_agent.h b/include/scmi_agent.h
> index f1be9ff209..ed40c7360a 100644
> --- a/include/scmi_agent.h
> +++ b/include/scmi_agent.h
> @@ -45,9 +45,9 @@ struct scmi_msg {
>   	}
>   
>   /**
> - * scmi_send_and_process_msg() - send and process a SCMI message
> + * devm_scmi_process_msg() - Send and process an SCMI message
>    *
> - * Send a message to a SCMI server through a target SCMI agent device.
> + * Send a message to an SCMI server through a target SCMI agent device.
nit: why change to 'an' here ?
>    * Caller sets scmi_msg::out_msg_sz to the output message buffer size.
>    * On return, scmi_msg::out_msg_sz stores the response payload size.
>    *



Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
Tom Rini Nov. 23, 2021, 10:16 p.m. UTC | #2
On Mon, Nov 08, 2021 at 08:56:07AM +0100, Etienne Carriere wrote:

> Correct inline comment describing API function devm_scmi_process_msg().
> 
> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

For the series, applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/include/scmi_agent.h b/include/scmi_agent.h
index f1be9ff209..ed40c7360a 100644
--- a/include/scmi_agent.h
+++ b/include/scmi_agent.h
@@ -45,9 +45,9 @@  struct scmi_msg {
 	}
 
 /**
- * scmi_send_and_process_msg() - send and process a SCMI message
+ * devm_scmi_process_msg() - Send and process an SCMI message
  *
- * Send a message to a SCMI server through a target SCMI agent device.
+ * Send a message to an SCMI server through a target SCMI agent device.
  * Caller sets scmi_msg::out_msg_sz to the output message buffer size.
  * On return, scmi_msg::out_msg_sz stores the response payload size.
  *