signal.c: fix kernel-doc warning
PATCH 1/1 signal.c: fix kernel-doc warning
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in signal.c:
Warning(kernel/signal.c:2374): No description found for parameter 'nset' Warning(kernel/signal.c:2374): Excess function parameter 'set' description in 'sys_rt_sigprocmask'
--- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/signal.c +1 -1
@@ -2365,7 +2365,7 @@ int sigprocmask(int how, sigset_t *set,/** * sys_rt_sigprocmask - change the list of currently blocked signals * @how: whether to add, remove, or set signals -* @set: stores pending signals +* @nset: stores pending signals * @oset: previous value of signal mask if non-null * @sigsetsize: size of sigset_t type */
Quoted 6 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in
signal.c:Warning(kernel/signal.c:2374): No description found for parameter 'nset' Warning(kernel/signal.c:2374): Excess function parameter 'set' description in '
sys_rt_sigprocmask'
Hi Randy,
I wonder how you can get the warning of the comments.
IMO, gcc can not get the comments' errors or warnings. Maybe you just use scripts for this. Would you mind telling me ;)
Thanks
Harry Wei
Quoted 2 lines
Signed-off-by Randy Dunlap <[email protected]>
Quoted 16 lines
--- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/signal.c +1
-2@@ -2365,7 +2365,7 @@ int sigprocmask(int how, sigset_t *set,/** * sys_rt_sigprocmask - change the list of currently blocked signals * @how: whether to add, remove, or set signals -* @set: stores pending signals +* @nset: stores pending signals * @oset: previous value of signal mask if non-null * @sigsetsize: size of sigset_t type */ --
Quoted 11 lines · Harry Wei
Quoted 6 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in
signal.c:Warning(kernel/signal.c:2374): No description found for parameter 'nset' Warning(kernel/signal.c:2374): Excess function parameter 'set' description in '
sys_rt_sigprocmask'Hi Randy,
I wonder how you can get the warning of the comments.
IMO, gcc can not get the comments' errors or warnings. Maybe you just use scripts for this. Would you mind telling me ;)
Harry,
I just run "make htmldocs" and watch the messages.
Quoted 21 lines
Thanks
Harry WeiQuoted 2 lines
Signed-off-by Randy Dunlap <[email protected]>Acked-by Harry Wei <[email protected]>Quoted 16 lines
--- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/signal.c +1
-2@@ -2365,7 +2365,7 @@ int sigprocmask(int how, sigset_t *set,/** * sys_rt_sigprocmask - change the list of currently blocked signals * @how: whether to add, remove, or set signals -* @set: stores pending signals +* @nset: stores pending signals * @oset: previous value of signal mask if non-null * @sigsetsize: size of sigset_t type */ --
Signature · 2 lines
~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 8 lines · Randy Dunlap
Quoted 7 lines · Harry Wei
Quoted 6 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in
signal.c:Warning(kernel/signal.c:2374): No description found for parameter 'nset' Warning(kernel/signal.c:2374): Excess function parameter 'set' description in '
sys_rt_sigprocmask'
Quoted 8 lines
Quoted 4 lines
Hi Randy,
I wonder how you can get the warning of the comments.
IMO, gcc can not get the comments' errors or warnings. Maybe you just use scripts for this. Would you mind telling me ;)Harry,
I just run "make htmldocs" and watch the messages.
Oh, i see, thanks.
Harry Wei
Quoted 16 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in
signal.cWarning(kernel/signal.c:2374): No description found for parameter 'nset' Warning(kernel/signal.c:2374): Excess function parameter 'set' description in '
sys_rt_sigprocmask'Signed-off-by Randy Dunlap <[email protected]>--- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/signal.c int sigprocmask(int how, sigset_t *set, · line 2368
Quoted 5 lines
kernel/signal.c +1
-1@@ -2365,7 +2365,7 @@ int sigprocmask(int how, sigset_t *set,/** * sys_rt_sigprocmask - change the list of currently blocked signals * @how: whether to add, remove, or set signals -* @set: stores pending signals +* @nset: stores pending signals
My fault. I changed the name of the argument, but forgot to update the doc.
I'll take this patch, thanks Randy.
Oleg.