Re: [Xen-devel] [PATCH 23/28] libxl: Introduce FILLZERO

2015-04-15 Thread Ian Campbell
On Tue, 2015-03-31 at 20:01 +0100, Ian Jackson wrote: > FILLZERO is a macro for memset(&foo,0,sizeof(foo)). It eliminates the > possiblity to make the error memset(&foo,0,sizeof(&foo)). > > No callers yet, but document it in CODING_STYLE. (In accordance with > existing libxl policy, I haven't go

[Xen-devel] [PATCH 23/28] libxl: Introduce FILLZERO

2015-03-31 Thread Ian Jackson
FILLZERO is a macro for memset(&foo,0,sizeof(foo)). It eliminates the possiblity to make the error memset(&foo,0,sizeof(&foo)). No callers yet, but document it in CODING_STYLE. (In accordance with existing libxl policy, I haven't gone through all existing possible call sites.) Signed-off-by: Ia