summaryrefslogtreecommitdiffstats
path: root/drivers/memory/emif.c
diff options
context:
space:
mode:
authorWei Yongjun2017-12-20 04:06:09 +0100
committerThierry Reding2017-12-20 18:32:08 +0100
commit83476bfaf6ac1cebf0cc5a3bdcf5031ef875cf42 (patch)
treec88d555e200ff98ead65e814d201c4acf6d2213b /drivers/memory/emif.c
parentiommu/tegra: Allow devices to be grouped (diff)
downloadkernel-qcow2-linux-83476bfaf6ac1cebf0cc5a3bdcf5031ef875cf42.tar.gz
kernel-qcow2-linux-83476bfaf6ac1cebf0cc5a3bdcf5031ef875cf42.tar.xz
kernel-qcow2-linux-83476bfaf6ac1cebf0cc5a3bdcf5031ef875cf42.zip
iommu/tegra-smmu: Fix return value check in tegra_smmu_group_get()
In case of error, the function iommu_group_alloc() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 7f4c9176f760 ("iommu/tegra: Allow devices to be grouped") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/memory/emif.c')
0 files changed, 0 insertions, 0 deletions