Skip to content
Snippets Groups Projects
Commit d577bbab authored by Manohar Vanga's avatar Manohar Vanga
Browse files

sdwb: add reserved field to header to align to 0x20 bytes


Signed-off-by: default avatarManohar Vanga <manohar.vanga@cern.ch>
parent 481a519b
Branches
Tags
No related merge requests found
......@@ -57,6 +57,8 @@ struct sdwb_head *sdwb_create_header(uint64_t wbid_addr, uint64_t wbd_addr)
if (!head)
return NULL;
memset(head, 0, sizeof(struct sdwb_head));
head->magic = SDWB_HEAD_MAGIC;
head->wbid_address = wbid_addr;
head->wbd_address = wbd_addr;
......
......@@ -42,6 +42,7 @@ struct sdwb_head {
uint64_t magic;
uint64_t wbid_address;
uint64_t wbd_address;
uint64_t reserved;
};
/*
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment