diff options
| author | Insu Yun <wuninsu@gmail.com> | 2015-12-30 10:59:29 -0500 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2016-01-04 16:05:27 +0200 |
| commit | 62ab420f7458feb4ef1fa2ef094ee00af9844253 (patch) | |
| tree | 4c9d2fcd316090963923376b2a2415ab31aa2bbe /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | eba51190f3c6ffcb685fc100a4234095b0146150 (diff) | |
| download | linux-62ab420f7458feb4ef1fa2ef094ee00af9844253.tar.gz linux-62ab420f7458feb4ef1fa2ef094ee00af9844253.zip | |
i915: correctly handling failed allocation
Since devm_kzalloc can be failed, it needs to be checked
if not, NULL dereference could be happened.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1451491169-35068-1-git-send-email-wuninsu@gmail.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
