aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-01-31 14:16:25 +0100
committerKalle Valo <[email protected]>2019-02-07 16:59:04 +0200
commitcd98625b3e3fd53b92323f781c0a80c039c23fbb (patch)
tree8c457af3760d075989c115636582e83fbb2dd770 /tools/perf/scripts/python
parent056550291d983a1b0a36b4f018a46ca7d12eb75c (diff)
ath9k: 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: QCA ath9k Development <[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')
0 files changed, 0 insertions, 0 deletions