Re: [PATCH v4 1/3] imd: replace magicvalue with sizeof(struct)

2020-01-28 Thread Sascha Hauer
On Mon, Jan 27, 2020 at 03:51:49PM +0100, Steffen Trumtrar wrote: > Instead of using "8" as the size of an imd_header, use the sizeof operator. > > Signed-off-by: Steffen Trumtrar > --- > common/imd.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied, thanks Sascha --

[PATCH v4 1/3] imd: replace magicvalue with sizeof(struct)

2020-01-27 Thread Steffen Trumtrar
Instead of using "8" as the size of an imd_header, use the sizeof operator. Signed-off-by: Steffen Trumtrar --- common/imd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/imd.c b/common/imd.c index 913a01de87bf..e0dab69644c0 100644 --- a/common/imd.c +++