Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670368
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 8/8] gpio: mockup: use devm_kcalloc() where applicable |
| Date | 2017-06-20 09:20 +0200 |
| Message-ID | <tUlCb-5wX-43@gated-at.bofh.it> (permalink) |
| References | <tQqAq-Yw-7@gated-at.bofh.it> <tQqAq-Yw-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 9, 2017 at 1:41 PM, Bartosz Golaszewski <brgl@bgdev.pl> wrote: > When allocating a zeroed array of objects use devm_kcalloc() instead > of manually calculating the required size and using devm_kzalloc(). > > Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Patch applied. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 8/8] gpio: mockup: use devm_kcalloc() where applicable Bartosz Golaszewski <brgl@bgdev.pl> - 2017-06-09 13:50 +0200 Re: [PATCH v3 8/8] gpio: mockup: use devm_kcalloc() where applicable Linus Walleij <linus.walleij@linaro.org> - 2017-06-20 09:20 +0200
csiph-web