Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1378104
| From | Shaohua Li <shli@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [patch] md/raid0: check for create_strip_zones() errors |
| Date | 2016-04-13 19:10 +0200 |
| Message-ID | <rnwsG-4zJ-3@gated-at.bofh.it> (permalink) |
| References | <rnmMF-5bA-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 13, 2016 at 09:46:45AM +0300, Dan Carpenter wrote: > My static checker complains that if create_strip_zones() fails then we > use "priv_conf" without initializing it. Fix this by checking for > failure. It's more convenient setting '*private_conf = ERR_PTR(-ENOMEM);' at the begining of create_strip_zones() when it returns -ENOMEM. create_strip_zones already sets private_conf correctly in other cases. Thanks, Shaohua
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[patch] md/raid0: check for create_strip_zones() errors Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-13 08:50 +0200
Re: [patch] md/raid0: check for create_strip_zones() errors Shaohua Li <shli@kernel.org> - 2016-04-13 19:10 +0200
Re: [patch] md/raid0: check for create_strip_zones() errors Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-13 20:00 +0200
[patch v2] md/raid0: fix uninitialized variable bug Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-14 11:40 +0200
Re: [patch v2] md/raid0: fix uninitialized variable bug Shaohua Li <shli@kernel.org> - 2016-04-14 19:00 +0200
csiph-web