diff options
author | Shunqian Zheng <[email protected]> | 2016-06-24 10:13:28 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2016-06-27 14:50:08 +0200 |
commit | 3d08f434bd58656ae630376d0b5afd6ca1ffb013 (patch) | |
tree | 564e9d0ac3605264e509630359cd9e09e8bc7d30 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e6d0f4737c468d1889aba06801c490988cf66ad7 (diff) |
iommu/rockchip: Fix allocation of bases array in driver probe
In .probe(), devm_kzalloc() is called with size == 0 and works only
by luck, due to internal behavior of the allocator and the fact
that the proper allocation size is small. Let's use proper value for
calculating the size.
Fixes: cd6438c5f844 ("iommu/rockchip: Reconstruct to support multi slaves")
Signed-off-by: Shunqian Zheng <[email protected]>
Signed-off-by: Tomasz Figa <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions