Skip to contentSkip to conversation

firmware: arm_scmi: Provide a missing function param description

PATCH Applied Sudeep Holla 1 participant 2 messages Jul 9, 2020 – Jul 13, 2020 System control & power/management interface (SCPI/SCMI) Message Protocol drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: arm_scmi: Provide a missing function param description

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'

---
 drivers/firmware/arm_scmi/smc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/arm_scmi/smc.c +1 -0
index 49bc4b0e8428..a1537d123e38 100644
@@ -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
  */
 
Signature · 1 line
2.17.1
author Applied
#1 lore raw
Quoted 7 lines · 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'

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