Skip to content

Commit 4903e1b

Browse files
rddunlapKAGA-KOKO
authored andcommitted
tick/broadcast: Add kernel-doc for function parameters
Add kernel-doc comments for two parameters to eliminate kernel-doc warnings: tick-broadcast.c:1026: warning: Function parameter or struct member 'bc' not described in 'tick_broadcast_setup_oneshot' tick-broadcast.c:1026: warning: Function parameter or struct member 'from_periodic' not described in 'tick_broadcast_setup_oneshot' Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent da7100d commit 4903e1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/time/tick-broadcast.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,8 @@ static inline ktime_t tick_get_next_period(void)
10201020

10211021
/**
10221022
* tick_broadcast_setup_oneshot - setup the broadcast device
1023+
* @bc: the broadcast device
1024+
* @from_periodic: true if called from periodic mode
10231025
*/
10241026
static void tick_broadcast_setup_oneshot(struct clock_event_device *bc,
10251027
bool from_periodic)

0 commit comments

Comments
 (0)