summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJared Kangas <jkangas@redhat.com>2025-11-11 13:54:12 -0800
committerLinus Walleij <linus.walleij@linaro.org>2025-11-18 23:56:11 +0100
commit6010d4d8b55b5d3ae1efb5502c54312e15c14f21 (patch)
tree7caa4c9ce93bcfd9c170c3f47d1f448fc58a8b27 /net/unix/af_unix.c
parent97ea34defbb57bfaf71ce487b1b0865ffd186e81 (diff)
pinctrl: s32cc: initialize gpio_pin_config::list after kmalloc()
s32_pmx_gpio_request_enable() does not initialize the newly-allocated gpio_pin_config::list before adding it to s32_pinctrl::gpio_configs. This could result in a linked list corruption. Initialize the new list_head with INIT_LIST_HEAD() to fix this. Fixes: fd84aaa8173d ("pinctrl: add NXP S32 SoC family support") Signed-off-by: Jared Kangas <jkangas@redhat.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions