Message ID | 20190531000053.64053-3-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/genhd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/genhd.c b/block/genhd.c > index ad6826628e79..24654e1d83e6 100644 > --- a/block/genhd.c > +++ b/block/genhd.c > @@ -532,8 +532,8 @@ void blk_free_devt(dev_t devt) > } > } > > -/** > - * We invalidate devt by assigning NULL pointer for devt in idr. > +/* > + * We invalidate devt by assigning NULL pointer for devt in idr. > */ > void blk_invalidate_devt(dev_t devt) > { >
diff --git a/block/genhd.c b/block/genhd.c index ad6826628e79..24654e1d83e6 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -532,8 +532,8 @@ void blk_free_devt(dev_t devt) } } -/** - * We invalidate devt by assigning NULL pointer for devt in idr. +/* + * We invalidate devt by assigning NULL pointer for devt in idr. */ void blk_invalidate_devt(dev_t devt) {
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/genhd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)