ANDROID: binder: fix kernel-doc for struct binder_priority

The member list of struct binder_priority is missing the colon kernel-doc
needs to associate a line with a member, so neither @sched_policy nor @prio
is picked up as a description.

This has been wrong since the block was introduced together with the struct
in "ANDROID: binder: add support for RT prio inheritance."  That commit was
merged on experimental/android-4.19-staging and the block has been carried
forward across branches since, so there is no commit in android-mainline
history to point a Fixes: tag at. The same commit spelled @sched_policy:
correctly in the binder_node block just above, which suggests the missing
colons here were a typo rather than a convention.

struct binder_priority is ANDROID-only and does not exist upstream, so there
is nothing to send to mainline for this.

scripts/kernel-doc -none drivers/android/binder_internal.h reports two
warnings for binder_priority before this change and none after it. The
remaining warnings in this file are also present in mainline and are left
alone here.

No functional change.

Change-Id: Id475f34170682b465e270a0ffa359f8bbd1b641f
Signed-off-by: Hung-Chun Tseng <alan.tseng.cs@gmail.com>
This commit is contained in:
Hung-Chun Tseng authored and android-test-infra-autosubmit@system.gserviceaccount.com committed 2026-08-20 09:58:09 -07:00
1 parent ff645d863b
commit 19466c7172
1 file changed
+2 -2
+2 -2
View File
@@ -343,8 +343,8 @@ struct binder_ref {
/**
* struct binder_priority - scheduler policy and priority
* @sched_policy scheduler policy
* @prio [100..139] for SCHED_NORMAL, [0..99] for FIFO/RT
* @sched_policy: scheduler policy
* @prio: [100..139] for SCHED_NORMAL, [0..99] for FIFO/RT
*
* The binder driver supports inheriting the following scheduler policies:
* SCHED_NORMAL