Skip to content

Commit a4ee9d0

Browse files
committed
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' Link: https://lore.kernel.org/r/[email protected] Reported-by: kbuild test robot <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent fcd2e0d commit a4ee9d0

File tree

1 file changed

+1
-0
lines changed
  • drivers/firmware/arm_scmi

1 file changed

+1
-0
lines changed

drivers/firmware/arm_scmi/smc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*
2222
* @cinfo: SCMI channel info
2323
* @shmem: Transmit/Receive shared memory area
24+
* @shmem_lock: Lock to protect access to Tx/Rx shared memory area
2425
* @func_id: smc/hvc call function id
2526
*/
2627

0 commit comments

Comments
 (0)