mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
include/boot/os_info: Add static assert for os_info size
Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
613353cd33
commit
a7373674bf
@@ -58,6 +58,8 @@ struct os_info {
|
||||
uint8_t reserved[3804];
|
||||
} __packed;
|
||||
|
||||
STATIC_ASSERT(sizeof(struct os_info) == 4096)
|
||||
|
||||
/*
|
||||
* Return 0 in case of valid os_info
|
||||
* Return -EOS_INFO_MISSING if os_info address is not page aligned or page is
|
||||
|
||||
Reference in New Issue
Block a user