Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1536367
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] net: irda: set error code on failures |
| Date | 2016-12-05 21:00 +0100 |
| Message-ID | <sL7AB-kR-11@gated-at.bofh.it> (permalink) |
| References | <sKxx7-32t-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Pan Bian <bianpan201603@163.com> Date: Sun, 4 Dec 2016 13:27:40 +0800 > From: Pan Bian <bianpan2016@163.com> > > When the calls to kzalloc() fail, the value of return variable ret may > be 0. 0 means success in this context. This patch fixes the bug, > assigning "-ENOMEM" to ret before calling kzalloc(). > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188971 > > Signed-off-by: Pan Bian <bianpan2016@163.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/1] net: irda: set error code on failures Pan Bian <bianpan201603@163.com> - 2016-12-04 06:30 +0100 Re: [PATCH 1/1] net: irda: set error code on failures David Miller <davem@davemloft.net> - 2016-12-05 21:00 +0100
csiph-web