diff options
| author | Mario Limonciello <mario.limonciello@dell.com> | 2017-11-09 20:49:09 +0300 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-11-17 04:45:26 +0300 |
| commit | 8b9528a6d9a901b9f933231505fef5630e80ce5a (patch) | |
| tree | 3e6d5a9ea96b58b7e90f1459ef0dd7f6cc2e14c6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 73ed298b0605a81d8cbf212df887f7b2fe65a61b (diff) | |
| download | linux-8b9528a6d9a901b9f933231505fef5630e80ce5a.tar.xz | |
platform/x86: dell-wmi-descriptor: check if memory was allocated
devm_kzalloc will return NULL pointer if no memory was allocated.
This should be checked. This problem also existed when the driver
was dell-wmi.c.
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
