2015-02-19 14:53, Bruce Richardson:
> On Sat, Feb 14, 2015 at 09:59:05AM -0500, Stephen Hemminger wrote:
> > The malloc family returns void * and therefore cast is unnecessary.
> > Use calloc rather than zmalloc with multiply for array.
> >
> > Signed-off-by: Stephen Hemminger
>
> Looks like a g
On Sat, Feb 14, 2015 at 09:59:05AM -0500, Stephen Hemminger wrote:
> The malloc family returns void * and therefore cast is unnecessary.
> Use calloc rather than zmalloc with multiply for array.
>
> Signed-off-by: Stephen Hemminger
Looks like a good basic cleanup
Acked-by: Bruce Richardson
>
The malloc family returns void * and therefore cast is unnecessary.
Use calloc rather than zmalloc with multiply for array.
Signed-off-by: Stephen Hemminger
---
app/test/test_hash_perf.c | 8
app/test/test_mempool.c | 2 +-
app/test/test_ring.c | 2 +-
3 files changed, 6 insertio
3 matches
Mail list logo