Messages in this thread | | | From | Bartosz Golaszewski <> | Date | Wed, 29 Mar 2023 18:12:01 +0200 | Subject | Re: [PATCH v1 1/2] gpiolib: Replace open coded krealloc() |
| |
On Tue, Mar 21, 2023 at 2:53 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > gpiod_get_array() does a new allocation in some cases, followed > by copying previously allocated placeholder for the descriptors. > > Replace that with krealloc(__GFP_ZERO), since it was kzalloc() > originally. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > ---
Series applied, thanks!
Bart
| |