summaryrefslogtreecommitdiff
path: root/mausezahn.8
diff options
context:
space:
mode:
Diffstat (limited to 'mausezahn.8')
0 files changed, 0 insertions, 0 deletions
a9b937d038bb2852'>diff)
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
-rw-r--r--net/mac80211/debugfs.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c