summaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-17 21:18:49 +0400
committerJoerg Roedel <joro@8bytes.org>2014-01-07 18:35:25 +0400
commitdc89f797abdbfc58dfb28af944f80f0299a8fafa (patch)
tree93b68a13f9026fa2bf3abda3fcf11ff749f23f0d /include/linux/iommu.h
parent78a2e12f51d9ec37c328fa5a429c676eeeba8cd1 (diff)
downloadlinux-dc89f797abdbfc58dfb28af944f80f0299a8fafa.tar.xz
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 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions