diff options
author | Greg Kroah-Hartman <[email protected]> | 2019-01-31 14:15:56 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-02-07 16:55:12 +0200 |
commit | 0b38b4b44516add3d1e3062a08fdcf1856476a00 (patch) | |
tree | b3b01707784718aa5a8cd7489cb557a3d0dba246 /tools/perf/scripts/python/stackcollapse.py | |
parent | f9a4b7f45ff595e33c98d652e852854818fddad7 (diff) |
ath10k: do not return invalid pointers as a *dentry
When calling debugfs functions, they can now return error values if
something went wrong. If that happens, return a NULL as a *dentry to
the relay core instead of passing it an illegal pointer.
The relay core should be able to handle an illegal pointer, but add this
check to be safe.
Cc: Kalle Valo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions