diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-21 16:54:11 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-03-29 19:11:12 +0300 |
commit | 79736429c97f517247645e73e75c956efd09ad03 (patch) | |
tree | 271f16e1caf6a4cf527fe0748c8f3b3ecb200cc7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2093bcd872321a5301470978231b23cc121e3476 (diff) | |
download | linux-79736429c97f517247645e73e75c956efd09ad03.tar.xz |
gpiolib: Replace open coded krealloc()
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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions