RE: [PATCH weston 3/3] ivi-shell: use zalloc instead of calloc

2016-07-28 Thread Ucan, Emre (ADITG/SW1)
. Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 6937 > -Original Message- > From: Yong Bakos [mailto:j...@humanoriented.com] > Sent: Sonntag, 10. Juli 2016 01:10 > To: Ucan, Emre (ADITG/SW1) > Cc: wayland-devel > Subject: Re: [PATCH weston 3/3] ivi-sh

Re: [PATCH weston 3/3] ivi-shell: use zalloc instead of calloc

2016-07-09 Thread Yong Bakos
Hi Emre, > On Jul 1, 2016, at 2:34 AM, Ucan, Emre (ADITG/SW1) > wrote: > > Signed-off-by: Emre Ucan Since `zalloc(sizeof *foo)` just inlines calloc(1, sizeof *foo), the patch is fine. However, I'd like to make a couple comments. First, please add an explicit include of zalloc.h in any .c fil

[PATCH weston 3/3] ivi-shell: use zalloc instead of calloc

2016-07-01 Thread Ucan, Emre (ADITG/SW1)
Signed-off-by: Emre Ucan --- ivi-shell/input-panel-ivi.c |2 +- ivi-shell/ivi-layout.c |8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ivi-shell/input-panel-ivi.c b/ivi-shell/input-panel-ivi.c index 581b56b..be9799f 100644 --- a/ivi-shell/input-panel-ivi.c