summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-21 15:54:11 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-29 18:11:12 +0200
commit79736429c97f517247645e73e75c956efd09ad03 (patch)
tree271f16e1caf6a4cf527fe0748c8f3b3ecb200cc7 /scripts/gdb/linux/utils.py
parent2093bcd872321a5301470978231b23cc121e3476 (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions