Re: [PATCH] calloc/xcalloc: fix argument order

2014-12-09 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 06, 2014 at 05:10:43PM +0530, Arjun Sreedharan escreveu: > calloc() and xcalloc() takes @nmemb first and then @size. > fix all w/ pattern "calloc\s*(\s*sizeof". Thanks, applied. > Signed-off-by: Arjun Sreedharan > --- > scripts/kconfig/mconf.c| 4 ++-- > tools/perf/ui/hist.c

[PATCH] calloc/xcalloc: fix argument order

2014-12-06 Thread Arjun Sreedharan
calloc() and xcalloc() takes @nmemb first and then @size. fix all w/ pattern "calloc\s*(\s*sizeof". Signed-off-by: Arjun Sreedharan --- scripts/kconfig/mconf.c| 4 ++-- tools/perf/ui/hist.c | 4 ++-- tools/thermal/tmon/sysfs.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-