]> www.infradead.org Git - users/hch/xfs.git/commit
libceph: fix crush_choose_firstn() kernel-doc warnings
authorJeff Johnson <quic_jjohnson@quicinc.com>
Wed, 10 Jul 2024 18:10:04 +0000 (11:10 -0700)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 11 Jul 2024 14:33:07 +0000 (16:33 +0200)
commit359bc01d2ecc9093216d21cfa03a545c44413cb6
tree960024abe623d424f733adb46f4ddb2715f52158
parent6463c360d6579dc68786cc3621aaa1ebf513e50b
libceph: fix crush_choose_firstn() kernel-doc warnings

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>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/crush/mapper.c