include: Use static asserts for SBI_SCRATCH_xxx_OFFSET defines
Add static detection to prevent the modification of struct sbi_scratch from forgetting the modification of SBI_SCRATCH_xxx_OFFSET Signed-off-by:Xiang W <wxjstz@126.com> Reviewed-by:
Anup Patel <anup@brainfault.org>
parent
555bdb1c
Please register or sign in to comment