Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468736
| From | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drm/nouveau/tegra: Modify error handling |
| Date | 2016-08-23 19:30 +0200 |
| Message-ID | <s9nGp-72m-15@gated-at.bofh.it> (permalink) |
| References | <s6iad-We-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 15, 2016 at 6:54 AM, Amitoj Kaur Chawla <amitoj1606@gmail.com> 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 <amitoj1606@gmail.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] drm/nouveau/tegra: Modify error handling Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-08-15 07:00 +0200 Re: [PATCH] drm/nouveau/tegra: Modify error handling Alexandre Courbot <gnurou@gmail.com> - 2016-08-23 19:30 +0200
csiph-web