Re: [PATCH 02/15] fs: gfs2: glock: Fix some deficient kernel-doc headers and demote non-conformant ones

From: Lee Jones
Date: Fri May 21 2021 - 02:58:30 EST


On Fri, 21 May 2021, Andreas Gruenbacher wrote:

> On Thu, May 20, 2021 at 2:00 PM Lee Jones <lee.jones@xxxxxxxxxx> wrote:
> > Fixes the following W=1 kernel build warning(s):
> >
> > fs/gfs2/glock.c:365: warning: Function parameter or member 'gl' not described in 'do_error'
> > fs/gfs2/glock.c:365: warning: Function parameter or member 'ret' not described in 'do_error'
> > fs/gfs2/glock.c:461: warning: Function parameter or member 'new_state' not described in 'state_change'
> > fs/gfs2/glock.c:1277: warning: Function parameter or member 'delay' not described in 'handle_callback'
> > fs/gfs2/glock.c:1277: warning: Function parameter or member 'remote' not described in 'handle_callback'
> > fs/gfs2/glock.c:1578: warning: Function parameter or member 'p' not described in 'nq_m_sync'
> > fs/gfs2/glock.c:1993: warning: Excess function parameter 'wait' description in 'gfs2_gl_hash_clear'
>
> What's that? Those warnings don't exist in mainline, and the two
> warnings we have in mainline are fixed in for-next:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?h=for-next&id=75069590915f2

Thanks for the heads-up Andreas.

This is a rebased set that was authored last cycle.

It's great that someone has been through and fixed these already.

Tell me, is that just the case for this patch, or the whole set?

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog