summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-08-01 01:17:10 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-01 11:46:52 +0200
commitbaa84b1bb1648506333fde3e66b6540f9d7d73cc (patch)
tree9c24f639dc978f37ddd1eaf2e0928716b35e913c /scripts/Makefile.thinlto
parentbe86ef1253c9df3ed1e9f93e36c5b00707dab14b (diff)
downloadlinux-next-baa84b1bb1648506333fde3e66b6540f9d7d73cc.tar.gz
linux-next-baa84b1bb1648506333fde3e66b6540f9d7d73cc.zip
staging: rtl8723bs: disable SDIO function on block size failure
sdio_init() enables the SDIO function before configuring the block size. If sdio_set_block_size() fails, the function jumps to the release path and returns the error without disabling the SDIO function. The caller then frees the dvobj directly, so the enabled SDIO function is left active on that probe failure path. Disable the SDIO function before releasing the host when block size configuration fails. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver") Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Reviewed-by: Dan Carpenter <error27@gmail.com> Link: https://patch.msgid.link/20260731161710.44828-1-mhun512@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions