[PATCH 5/5] Documentation: add kernel-api section on Math functions

2017-09-30 Thread Randy Dunlap
From: Randy Dunlap Add a kernel-api section on Math Functions. Signed-off-by: Randy Dunlap --- Documentation/core-api/kernel-api.rst | 24 1 file changed, 24 insertions(+) --- docs-next.orig/Documentation/core-api/kernel-api.rst +++ docs-next/Documentation/core-api/

[PATCH 2/5] div64: add missing kernel-doc

2017-09-30 Thread Randy Dunlap
From: Randy Dunlap Add missing kernel-doc notation for 2 div() functions. Signed-off-by: Randy Dunlap --- include/asm-generic/div64.h | 14 ++ lib/div64.c |6 ++ 2 files changed, 20 insertions(+) --- docs-next.orig/lib/div64.c +++ docs-next/lib/div64.c @@

[PATCH 4/5] lib/gcd: add kernel-doc notation

2017-09-30 Thread Randy Dunlap
From: Randy Dunlap Add kernel-doc notation for the gcd() function (so that it can be added to the kernel-api documentation). Signed-off-by: Randy Dunlap --- lib/gcd.c |6 ++ 1 file changed, 6 insertions(+) --- docs-next.orig/lib/gcd.c +++ docs-next/lib/gcd.c @@ -13,6 +13,12 @@ #if !d

[PATCH 1/5] linux/log2.h: fix kernel-doc notation

2017-09-30 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc: - Add kernel-doc notation to some functions. - Fix kernel-doc notation in function parameters. Signed-off-by: Randy Dunlap --- include/linux/log2.h | 42 ++--- 1 file changed, 23 insertions(+), 19 deletions(-) --- docs-

[PATCH 3/5] math64: add missing kernel-doc notation

2017-09-30 Thread Randy Dunlap
From: Randy Dunlap Add missing kernel-doc notation (function parameters) for several div() functions. Signed-off-by: Randy Dunlap --- include/linux/math64.h | 27 +++ 1 file changed, 27 insertions(+) --- docs-next.orig/include/linux/math64.h +++ docs-next/include/lin

Re: [PATCH 10/10] [RFC] w1_netlink.h: add support for nested structs

2017-09-30 Thread Evgeniy Polyakov
Hi 26.09.2017, 20:59, "Mauro Carvalho Chehab" : > Describe nested struct/union fields > > NOTE: This is a pure test patch, meant to validate if the > parsing logic for nested structs is working properly. > > I've no idea if the random text I added there is correct! It looks correct, although I wo