[PATCH -next] drm/nouveau/device: fix return value check in nvkm_device_tegra_probe_iommu()
Alexandre Courbot
gnurou at gmail.com
Wed Jul 6 13:32:54 UTC 2016
On Wed, Jul 6, 2016 at 9:23 PM, <weiyj_lk at 163.com> wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> In case of error, the function iommu_domain_alloc() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
Reviewed-by: Alexandre Courbot <acourbot at nvidia.com>
Thanks!
More information about the dri-devel
mailing list