diff options
| author | Ivan Bornyakov <brnkv.i1@gmail.com> | 2018-08-01 21:37:44 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 09:14:35 +0300 |
| commit | 548b9f03f007ae654055644cff844b2b4fd2b5d2 (patch) | |
| tree | 01368256155b1b6c99379baf594538bad3b9b311 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | c0f460ffeb9545267c981895814af157e5dfc554 (diff) | |
| download | linux-548b9f03f007ae654055644cff844b2b4fd2b5d2.tar.xz | |
staging: gasket: sysfs: fix potential null dereference
Add handling of possible allocation failure.
Reported by smatch:
drivers/staging/gasket/gasket_sysfs.c:105 put_mapping() error: potential null dereference 'files_to_remove'. (kcalloc returns null)
Signed-off-by: Ivan Bornyakov <brnkv.i1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
