diff options
| author | Greg Kroah-Hartman <[email protected]> | 2019-01-30 11:37:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-01-30 11:39:49 +0000 |
| commit | 37ea7b630ae5cdea4e8ff381d9d23abfef5939e6 (patch) | |
| tree | fd3836565f8255135394477d1fcc9d4fb5771286 /tools/bpf/bpftool/prog.c | |
| parent | debugfs: return error values, not NULL (diff) | |
| download | kernel-37ea7b630ae5cdea4e8ff381d9d23abfef5939e6.tar.gz kernel-37ea7b630ae5cdea4e8ff381d9d23abfef5939e6.zip | |
debugfs: debugfs_lookup() should return NULL if not found
Lots of callers of debugfs_lookup() were just checking NULL to see if
the file/directory was found or not. By changing this in ff9fb72bc077
("debugfs: return error values, not NULL") we caused some subsystems to
easily crash.
Fixes: ff9fb72bc077 ("debugfs: return error values, not NULL")
Reported-by: [email protected]
Reported-by: Tetsuo Handa <[email protected]>
Cc: Omar Sandoval <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
