aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2020-12-14 19:14:15 -0800
committerLinus Torvalds <[email protected]>2020-12-15 12:13:46 -0800
commit42a44704367cd18d069c9855cb84090ff90ecd86 (patch)
tree95671eed4221eb141981e66d25d53539c9879752 /tools/perf/scripts/python/export-to-postgresql.py
parent83aed6cde84542a1d56bdc0561879cc0199ae564 (diff)
mm/zswap: fix passing zero to 'PTR_ERR' warning
Fix smatch warning: mm/zswap.c:425 zswap_cpu_comp_prepare() warn: passing zero to 'PTR_ERR' crypto_alloc_comp() never return NULL, use IS_ERR instead of IS_ERR_OR_NULL to fix this. Link: https://lkml.kernel.org/r/[email protected] Fixes: f1c54846ee45 ("zswap: dynamic pool creation") Signed-off-by: YueHaibing <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Vitaly Wool <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions