Commit 5b435ca3 authored by Lee Jones's avatar Lee Jones Committed by Bjorn Andersson

remoteproc: qcom_sysmon: Solve function header bitrot issues

Looks as though 'name' has now been moved into 'struct sysmod_event'
which is passed in instead.  However, the parameter descriptions were
not updated at the same time.  Let's do that now.

Fixes the following W=1 kernel build warning(s):

 drivers/remoteproc/qcom_sysmon.c:78: warning: Function parameter or member 'event' not described in 'sysmon_send_event'
 drivers/remoteproc/qcom_sysmon.c:78: warning: Excess function parameter 'name' description in 'sysmon_send_event'
 drivers/remoteproc/qcom_sysmon.c:350: warning: Function parameter or member 'event' not described in 'ssctl_send_event'
 drivers/remoteproc/qcom_sysmon.c:350: warning: Excess function parameter 'name' description in 'ssctl_send_event'

Cc: Andy Gross <agross@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200715123551.4011154-2-lee.jones@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 7e05c8de
...@@ -71,7 +71,7 @@ static LIST_HEAD(sysmon_list); ...@@ -71,7 +71,7 @@ static LIST_HEAD(sysmon_list);
/** /**
* sysmon_send_event() - send notification of other remote's SSR event * sysmon_send_event() - send notification of other remote's SSR event
* @sysmon: sysmon context * @sysmon: sysmon context
* @name: other remote's name * @event: sysmon event context
*/ */
static void sysmon_send_event(struct qcom_sysmon *sysmon, static void sysmon_send_event(struct qcom_sysmon *sysmon,
const struct sysmon_event *event) const struct sysmon_event *event)
...@@ -343,7 +343,7 @@ static void ssctl_request_shutdown(struct qcom_sysmon *sysmon) ...@@ -343,7 +343,7 @@ static void ssctl_request_shutdown(struct qcom_sysmon *sysmon)
/** /**
* ssctl_send_event() - send notification of other remote's SSR event * ssctl_send_event() - send notification of other remote's SSR event
* @sysmon: sysmon context * @sysmon: sysmon context
* @name: other remote's name * @event: sysmon event context
*/ */
static void ssctl_send_event(struct qcom_sysmon *sysmon, static void ssctl_send_event(struct qcom_sysmon *sysmon,
const struct sysmon_event *event) const struct sysmon_event *event)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment