diff options
author | 2013-12-17 18:18:49 +0100 | |
---|---|---|
committer | 2014-01-07 15:35:25 +0100 | |
commit | dc89f797abdbfc58dfb28af944f80f0299a8fafa (patch) | |
tree | 93b68a13f9026fa2bf3abda3fcf11ff749f23f0d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommu: shmobile: Enable driver compilation with COMPILE_TEST (diff) | |
download | linux-dev-dc89f797abdbfc58dfb28af944f80f0299a8fafa.tar.xz linux-dev-dc89f797abdbfc58dfb28af944f80f0299a8fafa.zip |
iommu/shmobile: Allocate archdata with kzalloc()
The archdata attached_list field isn't initialized, leading to random
crashes when accessed. Use kzalloc() to allocate the whole structure and
make sure all fields get initialized properly.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions