diff options
author | 2016-06-17 09:54:23 +0200 | |
---|---|---|
committer | 2016-07-13 23:06:04 +0900 | |
commit | f7c72773de88fa3d4b51d4eb2bd2a89b746aaf54 (patch) | |
tree | 05a40dbdf33237547e0d2703027533a65fc12ca7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'asoc-hdmi-codec-pdata' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into drm-next (diff) | |
download | wireguard-linux-f7c72773de88fa3d4b51d4eb2bd2a89b746aaf54.tar.xz wireguard-linux-f7c72773de88fa3d4b51d4eb2bd2a89b746aaf54.zip |
drm/exynos: iommu: move dma_params configuration code to separate functions
Move code for managing DMA max segment size parameter to separate
functions. This patch also replaces devm_kzalloc() with kzalloc() and
adds proper kfree call. devm_kzalloc() cannot be used for dma_params
structure, because it will be freed on driver remove not on device
release. This means in case of Exynos DRM being compiled as module and
loaded 2 times, a user-after-free issue will happen.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions