aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-09-24 11:48:13 +0000
committerThomas Gleixner <[email protected]>2016-09-24 21:05:25 +0200
commit65f7422288cd19c4a9202c4ac7a9cca673b9b2ea (patch)
tree384d5224632b37741f2d7200ac478e45cd2ac317 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent58cbbee2391ce3876e6eee80a4f2a7f025859c52 (diff)
x86/platform/mellanox: Fix return value check in mlxplat_init()
In case of error, the function platform_device_register_simple() returns ERR_PTR() and never returns NULL. The NULL test in the return value check must therefor be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Vadim Pasternak <[email protected]> Cc: [email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions