aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-01-30 11:37:35 +0000
committerGreg Kroah-Hartman <[email protected]>2019-01-30 11:39:49 +0000
commit37ea7b630ae5cdea4e8ff381d9d23abfef5939e6 (patch)
treefd3836565f8255135394477d1fcc9d4fb5771286 /tools/bpf/bpftool/prog.c
parentdebugfs: return error values, not NULL (diff)
downloadkernel-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