[patch] drm/nouveau/platform: checking for IS_ERR() instead of NULL

Thierry Reding treding at nvidia.com
Tue Apr 21 02:36:11 PDT 2015


On Tue, Apr 21, 2015 at 12:25:07PM +0300, Dan Carpenter wrote:
> iommu_domain_alloc() returns NULL on error, it doesn't return error
> pointers.
> 
> Fixes: 58fd9375c2c5 ('drm/nouveau/platform: probe IOMMU if present')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Indeed:

Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150421/41d02e96/attachment.sig>


More information about the dri-devel mailing list