Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689190
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer |
| Date | 2017-07-17 18:00 +0200 |
| Message-ID | <u4gBc-6Zb-25@gated-at.bofh.it> (permalink) |
| References | <u4acq-32J-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Colin King <colin.king@canonical.com> Date: Mon, 17 Jul 2017 10:07:25 +0100 > From: Colin Ian King <colin.king@canonical.com> > > Don't return plain integer 0, instead return NULL > > Fixes sparse warning: > warning: Using plain integer as NULL pointer > > Signed-off-by: Colin Ian King <colin.king@canonical.com> This does not apply cleanly to the net-next tree.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer Colin King <colin.king@canonical.com> - 2017-07-17 11:10 +0200 Re: [PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer David Miller <davem@davemloft.net> - 2017-07-17 18:00 +0200
csiph-web