diff options
author | Chris Samuel <chris@csamuel.org> | 2010-11-13 13:35:06 +1100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-06 12:52:35 -0200 |
commit | ce47dc56a2241dc035160a85bc5e34283cdd622c (patch) | |
tree | d9404df9d3ca0ddacdd8faae791ece27206dece4 /include/xen/page.h | |
parent | 965bb6beaf70862d3846e330ea7a14996d82c499 (diff) | |
download | linux-ce47dc56a2241dc035160a85bc5e34283cdd622c.tar.gz linux-ce47dc56a2241dc035160a85bc5e34283cdd622c.tar.bz2 linux-ce47dc56a2241dc035160a85bc5e34283cdd622c.zip |
perf tools: Catch a few uncheck calloc/malloc's
There were a few stray calloc()'s and malloc()'s which were not having
their return values checked for success.
As the calling code either already coped with failure or didn't actually
care we just return -ENOMEM at that point.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Chris Samuel <chris@csamuel.org>
LKML-Reference: <4CDDF95A.1050400@csamuel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/xen/page.h')
0 files changed, 0 insertions, 0 deletions