Message ID | 20240710-kd-crush_choose_indep-v1-0-fe2b85f322c6@quicinc.com |
---|---|
Headers | show |
Series | libceph: fix kernel-doc warnings | expand |
On Wed, Jul 10, 2024 at 11:10:04AM -0700, Jeff Johnson wrote: > Currently, when built with "make W=1", the following warnings are > generated: > > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'work' not described in 'crush_choose_firstn' > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight' not described in 'crush_choose_firstn' > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight_max' not described in 'crush_choose_firstn' > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'choose_args' not described in 'crush_choose_firstn' > > Update the crush_choose_firstn() kernel-doc to document these > parameters. > > Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Simon Horman <horms@kernel.org>
On Thu, Jul 11, 2024 at 3:34 PM Simon Horman <horms@kernel.org> wrote: > > On Wed, Jul 10, 2024 at 11:10:04AM -0700, Jeff Johnson wrote: > > Currently, when built with "make W=1", the following warnings are > > generated: > > > > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'work' not described in 'crush_choose_firstn' > > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight' not described in 'crush_choose_firstn' > > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'weight_max' not described in 'crush_choose_firstn' > > net/ceph/crush/mapper.c:466: warning: Function parameter or struct member 'choose_args' not described in 'crush_choose_firstn' > > > > Update the crush_choose_firstn() kernel-doc to document these > > parameters. > > > > Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> > > Reviewed-by: Simon Horman <horms@kernel.org> Applied with a small tweak. Thanks, Ilya