Thread (2 messages) 2 messages, 2 authors, 2016-08-23

Re: [PATCH] drm/nouveau/tegra: Modify error handling

flat view

From: Alexandre Courbot <hidden>
Date: 2016-08-23 17:20:33
Also in: dri-devel, lkml, nouveau

On Mon, Aug 15, 2016 at 6:54 AM, Amitoj Kaur Chawla
[off-list ref] wrote:
iommu_domain_alloc returns NULL on error so replace an incorrect
IS_ERR check with a NULL check.

The Coccinelle semantic patch used to find this issue is as follows:
@@
expression e;
statement S;
@@

*e = iommu_domain_alloc(...);
if (IS_ERR(e)) S

Signed-off-by: Amitoj Kaur Chawla <redacted>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help