aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-08-27 22:13:06 +0000
committerJon Mason <[email protected]>2018-10-31 20:22:44 +0000
commit1b7619828d0c341612f58683e73f279c37e70bbc (patch)
tree2e417cdfc1ce30c4d72a58fee4953199878e2386 /tools/perf/scripts/python/compaction-times.py
parentntb: intel: fix return value for ndev_vec_mask() (diff)
downloadkernel-1b7619828d0c341612f58683e73f279c37e70bbc.tar.gz
kernel-1b7619828d0c341612f58683e73f279c37e70bbc.zip
NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks
Both devm_kcalloc() and devm_kzalloc() return NULL on error. They never return error pointers. The use of IS_ERR_OR_NULL is currently applied to the wrong context. Fix this by replacing IS_ERR_OR_NULL with regular NULL checks. Fixes: bf2a952d31d2 ("NTB: Add IDT 89HPESxNTx PCIe-switches support") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions