All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] firmware: arm_scmi: Provide a missing function param description
@ 2020-07-09 15:31 ` Sudeep Holla
  0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2020-07-09 15:31 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sudeep Holla, linux-kernel

gcc as well as clang now produce warnings for missing kerneldoc function
parameter.

Fix the following W=1 kernel build warning:

drivers/firmware/arm_scmi/smc.c:32:
 warning: Function parameter or member 'shmem_lock' not described in 'scmi_smc'

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 drivers/firmware/arm_scmi/smc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
index 49bc4b0e8428..a1537d123e38 100644
--- a/drivers/firmware/arm_scmi/smc.c
+++ b/drivers/firmware/arm_scmi/smc.c
@@ -21,6 +21,7 @@
  *
  * @cinfo: SCMI channel info
  * @shmem: Transmit/Receive shared memory area
+ * @shmem_lock: Lock to protect access to Tx/Rx shared memory area
  * @func_id: smc/hvc call function id
  */
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] firmware: arm_scmi: Provide a missing function param description
@ 2020-07-09 15:31 ` Sudeep Holla
  0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2020-07-09 15:31 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: linux-kernel, Sudeep Holla

gcc as well as clang now produce warnings for missing kerneldoc function
parameter.

Fix the following W=1 kernel build warning:

drivers/firmware/arm_scmi/smc.c:32:
 warning: Function parameter or member 'shmem_lock' not described in 'scmi_smc'

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 drivers/firmware/arm_scmi/smc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
index 49bc4b0e8428..a1537d123e38 100644
--- a/drivers/firmware/arm_scmi/smc.c
+++ b/drivers/firmware/arm_scmi/smc.c
@@ -21,6 +21,7 @@
  *
  * @cinfo: SCMI channel info
  * @shmem: Transmit/Receive shared memory area
+ * @shmem_lock: Lock to protect access to Tx/Rx shared memory area
  * @func_id: smc/hvc call function id
  */
 
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] firmware: arm_scmi: Provide a missing function param description
  2020-07-09 15:31 ` Sudeep Holla
@ 2020-07-13 13:00   ` Sudeep Holla
  -1 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2020-07-13 13:00 UTC (permalink / raw)
  To: Sudeep Holla, linux-arm-kernel; +Cc: linux-kernel

On Thu, 9 Jul 2020 16:31:55 +0100, Sudeep Holla wrote:
> gcc as well as clang now produce warnings for missing kerneldoc function
> parameter.
>
> Fix the following W=1 kernel build warning:
>
> drivers/firmware/arm_scmi/smc.c:32:
>  warning: Function parameter or member 'shmem_lock' not described in 'scmi_smc'

Applied to sudeep.holla/linux (for-next/scmi), thanks!

[1/1] firmware: arm_scmi: Provide a missing function param description
      https://git.kernel.org/sudeep.holla/c/a4ee9d0194

--
Regards,
Sudeep


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] firmware: arm_scmi: Provide a missing function param description
@ 2020-07-13 13:00   ` Sudeep Holla
  0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2020-07-13 13:00 UTC (permalink / raw)
  To: Sudeep Holla, linux-arm-kernel; +Cc: linux-kernel

On Thu, 9 Jul 2020 16:31:55 +0100, Sudeep Holla wrote:
> gcc as well as clang now produce warnings for missing kerneldoc function
> parameter.
>
> Fix the following W=1 kernel build warning:
>
> drivers/firmware/arm_scmi/smc.c:32:
>  warning: Function parameter or member 'shmem_lock' not described in 'scmi_smc'

Applied to sudeep.holla/linux (for-next/scmi), thanks!

[1/1] firmware: arm_scmi: Provide a missing function param description
      https://git.kernel.org/sudeep.holla/c/a4ee9d0194

--
Regards,
Sudeep


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-13 13:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 15:31 [PATCH] firmware: arm_scmi: Provide a missing function param description Sudeep Holla
2020-07-09 15:31 ` Sudeep Holla
2020-07-13 13:00 ` Sudeep Holla
2020-07-13 13:00   ` Sudeep Holla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.