Re: [PATCH weston v6 65/73] compositor-drm: no need to clear inherited_mode

2018-04-12 Thread Daniel Stone
Hi Pekka, On 16 February 2018 at 15:57, Pekka Paalanen wrote: > The head was just zalloc()'d, there is no need to memset it to zero. > > If a function fails, it is preferable it leaves the output arguments > untouched. Everything to this point is: Reviewed-by: Daniel Stone and I'm happy for yo

[PATCH weston v6 65/73] compositor-drm: no need to clear inherited_mode

2018-02-16 Thread Pekka Paalanen
From: Pekka Paalanen The head was just zalloc()'d, there is no need to memset it to zero. If a function fails, it is preferable it leaves the output arguments untouched. Signed-off-by: Pekka Paalanen --- libweston/compositor-drm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) d