Skip to contentSkip to conversation

bfq: Fix __bfq_lookup_next_entity() kernel-doc comment

PATCH New Yang Li 1 participant 1 message Jan 4, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 bfq: Fix __bfq_lookup_next_entity() kernel-doc comment

Add the description of @in_service to remove warning found by running scripts/kernel-doc, which is caused by using 'make W=1'.
block/bfq-wf2q.c:1399: warning: Function parameter or member 'in_service' not described in '__bfq_lookup_next_entity'

---
 block/bfq-wf2q.c | 1 +
 1 file changed, 1 insertion(+)
block/bfq-wf2q.c +1 -0
index b74cc0da118e..ab05e973342e 100644
@@ -1375,6 +1375,7 @@ static struct bfq_entity *bfq_first_active_entity(struct bfq_service_tree *st,
 /**
  * __bfq_lookup_next_entity - return the first eligible entity in @st.
  * @st: the service tree.
+ * @in_service: Check whether an in-service entity exists.
  *
  * If there is no in-service entity for the sched_data st belongs to,
  * then return the entity that will be set in service if:
Signature · 1 line
2.20.1.7.g153144c