firmware: arm_scmi: Provide a missing function param description
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'
Reported-by kbuild test robot <[email protected]>
Signed-off-by Sudeep Holla <[email protected]>
--- drivers/firmware/arm_scmi/smc.c | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/arm_scmi/smc.c +1 -0
@@ -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
Sudeep Holla
AppliedQuoted 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