summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-10-14 10:44:02 +0200
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-10-15 14:06:25 +0200
commit851bb4a42991666f515040e95e6f40191da9e899 (patch)
tree4ccfce6d31710c97104a921e1b74733e99811434 /scripts/basic/split-include.c
parentcf73c3fc03c43a8a86fd487c62390b4744eff9ec (diff)
downloadlinux-851bb4a42991666f515040e95e6f40191da9e899.tar.gz
linux-851bb4a42991666f515040e95e6f40191da9e899.zip
gpio: kunit: fix GPIO device reference leak with __free()
KUnit aborts the test thread immediately using kthread_exit() so the variable annotated with __free() never really goes out of scope and the associated callback is not called. Schedule a kunit action instead. Fixes: a05cfd98c5ec ("gpio: kunit: add test cases for software node hogs") Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/patchset/20261013-gpio-kunit-plat-lookup-v3-0-3907f913e964%40oss.qualcomm.com?part=1 Link: https://patch.msgid.link/20261014-gpio-kunit-autofree-leak-fix-v1-1-5bfa7be0eb1f@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions