summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-06 15:02:09 +0300
committerJens Axboe <axboe@fb.com>2016-07-12 18:33:43 +0300
commit69555af2ce32a31d11666e5fe20628b35fdf7ef3 (patch)
treebf8f78689a6ab8ec0c4c064a2ebbcc65bccb1a89 /tools/perf/scripts/python/call-graph-from-postgresql.py
parente76debd996c6c0296fbdcba275b4f875e07a0eff (diff)
downloadlinux-69555af2ce32a31d11666e5fe20628b35fdf7ef3.tar.xz
nvmet: fix return value check in nvmet_subsys_alloc()
In case of error, the function kstrndup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions