Message ID | 20190531000053.64053-2-bvanassche@acm.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Improve block layer function documentation | expand |
Looks good. Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com> On 5/30/19 5:01 PM, Bart Van Assche wrote: > This patch avoids that the kernel-doc tool warns about this function > header when building with W=1. > > Signed-off-by: Bart Van Assche <bvanassche@acm.org> > --- > block/partitions/ldm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block/partitions/ldm.c b/block/partitions/ldm.c > index 6db573f33219..fe5d970e2e60 100644 > --- a/block/partitions/ldm.c > +++ b/block/partitions/ldm.c > @@ -19,7 +19,7 @@ > #include "check.h" > #include "msdos.h" > > -/** > +/* > * ldm_debug/info/error/crit - Output an error message > * @f: A printf format string containing the message > * @...: Variables to substitute into @f >
diff --git a/block/partitions/ldm.c b/block/partitions/ldm.c index 6db573f33219..fe5d970e2e60 100644 --- a/block/partitions/ldm.c +++ b/block/partitions/ldm.c @@ -19,7 +19,7 @@ #include "check.h" #include "msdos.h" -/** +/* * ldm_debug/info/error/crit - Output an error message * @f: A printf format string containing the message * @...: Variables to substitute into @f
This patch avoids that the kernel-doc tool warns about this function header when building with W=1. Signed-off-by: Bart Van Assche <bvanassche@acm.org> --- block/partitions/ldm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)