Skip to content

Commit

Permalink
sa_impl: fix SA header bitfield docs
Browse files Browse the repository at this point in the history
Off by one, confused me a while!

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <[email protected]>
  • Loading branch information
robn committed Sep 3, 2024
1 parent b3b7491 commit f7595c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/sys/sa_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ typedef struct sa_hdr_phys {
* | hdrsz |layout |
* +--------+-------+
*
* Bits 0-10 are the layout number
* Bits 11-16 are the size of the header.
* Bits 0-9 (10 bits) are the layout number (0-1023)
* Bits 10-15 (6 bits) are the size of the header (0-63)
* The hdrsize is the number * 8
*
* For example.
Expand Down

0 comments on commit f7595c7

Please sign in to comment.