diff options
author | 2023-05-28 13:16:44 +0530 | |
---|---|---|
committer | 2023-08-23 15:55:17 +1000 | |
commit | 429356fac0440b962aaa6d3688709813a21dd122 (patch) | |
tree | 1b28c59bd5f56bbcf47d2c4844f6d5f86fea802d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/ftrace: Add support for -fpatchable-function-entry (diff) | |
download | wireguard-linux-429356fac0440b962aaa6d3688709813a21dd122.tar.xz wireguard-linux-429356fac0440b962aaa6d3688709813a21dd122.zip |
powerpc/powernv: fix debugfs_create_dir() error checking
The debugfs_create_dir returns ERR_PTR incase of an error and the
correct way of checking it by using the IS_ERR inline function, and
not the simple null comparision. This patch fixes this.
Suggested-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Immad Mir <mirimmad17@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/CY5PR12MB64553EE96EBB3927311DB598C6459@CY5PR12MB6455.namprd12.prod.outlook.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions