diff options
author | 2016-10-30 22:34:51 +0100 | |
---|---|---|
committer | 2016-11-18 22:41:08 +1100 | |
commit | 28e323e5a0b21b3665eb6e136ca8bbce10fd29d7 (patch) | |
tree | b30a54fd82da25ff01f7c4f778d43af1e4be8f04 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cxl: Fix memory allocation failure test (diff) | |
download | linux-dev-28e323e5a0b21b3665eb6e136ca8bbce10fd29d7.tar.xz linux-dev-28e323e5a0b21b3665eb6e136ca8bbce10fd29d7.zip |
cxl: Fix error handling in _cxl_cx4_setup_msi_irqs()
'cxl_dev_context_init()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions