From: Laurent Pinchart Date: Tue, 17 Dec 2013 17:18:49 +0000 (+0100) Subject: iommu/shmobile: Allocate archdata with kzalloc() X-Git-Tag: v3.14-rc1~50^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc89f797abdbfc58dfb28af944f80f0299a8fafa;p=pandora-kernel.git 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 Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed