summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJared Kangas <jkangas@redhat.com>2025-11-11 13:54:12 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-01 11:43:33 +0100
commit39697862fc4bbe03f83d40b25bfa026d03fecd2b (patch)
tree771d1f2f24d360041999a3344e69f8323c2ebdc5 /include/net/aligned_data.h
parent583ac7f65791ceda38ea1a493a4859f7161dcb03 (diff)
pinctrl: s32cc: initialize gpio_pin_config::list after kmalloc()
[ Upstream commit 6010d4d8b55b5d3ae1efb5502c54312e15c14f21 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions