Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1524079
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR |
| Date | 2016-11-17 05:30 +0100 |
| Message-ID | <sEmuJ-49B-7@gated-at.bofh.it> (permalink) |
| References | <sE6gh-21P-17@gated-at.bofh.it> <sE6gh-21P-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Julia Lawall <Julia.Lawall@lip6.fr> Date: Wed, 16 Nov 2016 11:43:33 +0100 > knav_queue_open always returns an ERR_PTR value, never NULL. This can be > confirmed by unfolding the function calls and conforms to the function's > documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks. > > The change is made using the following semantic patch: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Applied to net-next, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] replace IS_ERR_OR_NULL by IS_ERR Julia Lawall <Julia.Lawall@lip6.fr> - 2016-11-16 12:10 +0100
[PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR Julia Lawall <Julia.Lawall@lip6.fr> - 2016-11-16 12:10 +0100
Re: [PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR David Miller <davem@davemloft.net> - 2016-11-17 05:30 +0100
[PATCH 2/2] soc: ti: knav_qmss_queue: replace IS_ERR_OR_NULL by IS_ERR Julia Lawall <Julia.Lawall@lip6.fr> - 2016-11-16 12:10 +0100
csiph-web