History

time: Add missing colons for parameter documentation of time64_to_tm()

Address these kernel-doc warnings: kernel/time/timeconv.c:79: warning: Function parameter or member 'totalsecs' not described in 'time64_to_tm' kernel/time/timeconv.c:79: warning: Function parameter or member 'offset' not described in 'time64_to_tm' kernel/time/timeconv.c:79: warning: Function parameter or member 'result' not described in 'time64_to_tm' The parameters are described but lack colons after the parameter name. [ tglx: Massaged changelog ]

Alex Shi committed 6 years ago

Commit a0f5a651 parent c725daf1 file · +3 −3Browse files

Unified · Split

kernel/time/timeconv.c+3−3
@@ -70,10 +70,10 @@ static const unsigned short __mon_yday[2][13] = { · 69 unmodified lines
7070 /**
7171 * time64_to_tm - converts the calendar time to local broken-down time
7272 *
73− * @totalsecs the number of seconds elapsed since 00:00:00 on January 1, 1970,
73+ * @totalsecs: the number of seconds elapsed since 00:00:00 on January 1, 1970,
7474 * Coordinated Universal Time (UTC).
75− * @offset offset seconds adding to totalsecs.
76− * @result pointer to struct tm variable to receive broken-down time
75+ * @offset: offset seconds adding to totalsecs.
76+ * @result: pointer to struct tm variable to receive broken-down time
7777 */
7878 void time64_to_tm(time64_t totalsecs, int offset, struct tm *result)
7979 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t