aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTiezhu Yang <kernelpatch@126.com>2018-05-26 22:46:22 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 19:00:53 +0200
commitdad459e052dc73493a4058b0f05f7e210691a0ba (patch)
tree92cf3139971b9507928df9e90cbbe423955ac84b /tools/perf/scripts/python/bin/stackcollapse-record
parentstaging: wlan-ng: remove unused declarations from p80211types.h (diff)
downloadlinux-dad459e052dc73493a4058b0f05f7e210691a0ba.tar.gz
linux-dad459e052dc73493a4058b0f05f7e210691a0ba.zip
staging: rtlwifi: use single_open and single_release properly
single_open() returns -ENOMEM when malloc failed, so the caller function rtl_debugfs_open_rw() should not always return 0. In addition, when using single_open(), we should use single_release() instead of seq_release() in the file_operations structure to avoid a memory leak. Signed-off-by: Tiezhu Yang <kernelpatch@126.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions