Correct documentation for struct segdist_code
PATCH 1/1 Correct documentation for struct segdist_code
Correct the documentation for struct segdist_code by removing the incorrect reference to segdist_codes and add a note to describe the array.
Reported-by kernel test robot <[email protected]>
Signed-off-by Abhishek Tamboli <[email protected]>
---
The documentation for struct segdist_code contained an incorrect reference to segdist_codes as a member. This patch removes that incorrect reference and adds a note to describe the array segdist_codes[] containing all possible Segment Distribution codes.
drivers/slimbus/stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/slimbus/stream.c +2 -1
@@ -18,7 +18,8 @@* and the first slot of the next consecutive Segment. * @segdist_code: Segment Distribution Code SD[11:0] * @seg_offset_mask: Segment offset mask in SD[11:0] -* @segdist_codes: List of all possible Segmet Distribution codes. +* +* Note: segdist_codes: List of all possible Segmet Distribution codes. */ static const struct segdist_code { int ratem;
base-commit: f3d61438b613b87afb63118bea6fb18c50ba7a6b
prerequisite-patch-id: f30868a7fdcfaceb6bab2b6f41402a9aeae858cb
Signature · 1 line
2.25.1