diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-08-01 10:32:42 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-15 22:52:55 +1000 |
| commit | fd3806562f450a6189c31e0d2cb9cd4b208dcf2d (patch) | |
| tree | 00fe3832b9adbeba52ce6facbfa93efc61a2f13a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b214a8f2ea964b5ff2cc4a1e8bd8c74f64741f20 (diff) | |
| download | linux-fd3806562f450a6189c31e0d2cb9cd4b208dcf2d.tar.gz linux-fd3806562f450a6189c31e0d2cb9cd4b208dcf2d.zip | |
powerpc/xive: Add a check for memory allocation failure
The result of this kzalloc is not checked. Add a check and corresponding
error handling code.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/cc53462734dfeaf15b6bad0e626b483de18656b4.1564647619.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
