diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-02-07 16:20:53 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-08 10:05:07 +0100 |
| commit | b2347a322d1f6f93f1a39fe17ed08628fc959351 (patch) | |
| tree | 6276bbd2af92b53346aa7e50871fe8069ad591e9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | mac80211: aes-cmac: switch to shash CMAC driver (diff) | |
| download | linux-b2347a322d1f6f93f1a39fe17ed08628fc959351.tar.gz linux-b2347a322d1f6f93f1a39fe17ed08628fc959351.zip | |
mac80211: check for allocation failure in debugfs code
kmalloc() can fail. Also let's move the allocation out of the
declaration block so it's easier to read.
Fixes: 4a5eccaa9350 ("mac80211: Show pending txqlen in debugfs.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
