sa_impl: fix SA header bitfield docs

Off by one, confused me a while!

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
This commit is contained in:
Rob Norris 2024-09-03 11:00:22 +10:00 committed by Rob Norris
parent d4d79451cb
commit 46438c8893
1 changed files with 2 additions and 2 deletions

View File

@ -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.