From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E2AA2DF13F for ; Sat, 5 Sep 2026 00:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788568215; cv=none; b=AIAX3gH+E8D6+haybJie2Cdigf4yqWVmuWlAYfmP4W24ptnwYjqd1+CF9oGh/eo1ACJFRtYjwi/v8Tus+S8Zl8buRxfCxuY2NF10Jp4qXoL9otvEMqS4xLw4TlYaAscY9sLRDSMaBjm+wnrefgu5sZL9JGGIQCNSkE1va5iFpeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788568215; c=relaxed/simple; bh=XxbPIFk2tSsij/ROTcukZp1v9F5KUnPXyjMHgXJVQ8s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ao40q0Ybk9QPSeNpRLGs9/JpdVQahQoxs+OOVPs0Zd7A3Fdit8hJVCBoaTPjwS+sKeV2VhtwsKDYCDr6go2mIQDV+1b0XmkqqkoS9V6cGD8hbuzMab4Xyiu9b2VWAFdxAX+58SQ0mbEFELfvYzYyqxr+uzp0SoMPjiJPzdHY3V0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YDGVxRdz; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YDGVxRdz" Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-38e58034d05so1397960a91.2 for ; Fri, 04 Sep 2026 17:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788568212; x=1789173012; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=7HnYBPkgGHcq9yWO+WayMoxCwKBUXVvRWJyyRsMWSP0=; b=YDGVxRdzwiZjZAB3CiuiI18XQj5Uxss8SJ+Qhvg9+pCl3vV5hseo++ZJ/aWiN0vxP7 /XkSLNhgKpB4hOldnEk0A9hgg+GgAXL+e90pN56oGuCoi5FjFd9M+wt9pqfI+ylRaQX4 dV4YlT9yGcbNP3933iE09hJl+mCcGK474uQtPhThwBjeUB+a7d7gHyRVlXQjRLEFrHLx oJLAt2vkrxJF9h7HEYSM0V1OTQo6Ukd+vZCu+Se9ud/mw+UG6MN4wDUDF0Xa7h1RhH3w XvGQoFIyQf4xHswOXk/O8JYWkXccWKd2oDt4IzvXIch90UYZU3nQ758vpPIxrEjM50DC dLuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788568212; x=1789173012; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7HnYBPkgGHcq9yWO+WayMoxCwKBUXVvRWJyyRsMWSP0=; b=C6lkKEznFxb3t6AIXY+piEDLcBHHvzBy2FiKMnIvQYl9ktdvQzun5JpF71KVUpUVGl umh9xlpTjDMbyWpBMFnUHJk/jD/rIiE3aegIU4nwrSMzOGrG5l7pUfPL0S98uvLANsRo kUkmW8WExV1aNj9r7vYuXac++WOKE57CRO/6tu0oT9XLxwx0s1ZVvPgdu8wsDAsVWc1B Vb3gPzawgap9tM7vWoFiMxq8bLtEY7xfXWmez2yWTj6MOU5CXYjvf4oIW/6h7S3wanUV qOXZef+RSN6H8tXhcFN8qroZ43YGHUo04z9Dj1JSGx+H+903JrguSg4x1Iuu+TyoG4A5 DZxA== X-Forwarded-Encrypted: i=1; AKwUvByjZ+Ja/NwblAay6K+biCkFQGji8BjXsavSZQCVmG3KTCj3+p3bDbkb1ZdrD/nu57ugBsZoLS1DDUPxQQ==@vger.kernel.org X-Gm-Message-State: AFuF++kuURWcqoIDKJYQF3SsEyQEbYAlG9fuWXCuJVK7bkQ2hZ7Odxy7 thkTvCIRhIOTWvvirXkA7MRROuVVnnYYAzlDpZoGUBNRboT+zERxy5td X-Gm-Gg: AYBFou1ijDJmzVOagugMiHC2NoyYArxuJ9KawMpf8E3i7Go6US7sjhDDOMF2B64DmfY eQfeap7D593CO+fofZjNU1Em38JHV0E7XK2w5SAiG08+pq8yc7OogomQRXfOfkiEukpLSv9/vvz b4Fq9Jv+fAtsmmN/J2TDu2FyWhsGzqONXPiOOTKpPKnTqtuubR6ji7plVieKdC3MVq5LjJwXVaS VgayG/85dw5fX8V/5xLGD0ZiPyFsgBw+AVm9NiKHsnL/PqHCiCuaiqQY2g9p5MKftp6/JiyF76J 6eMgKX5pG+ZlcqI5veYVK+G0JuorfsbyJvdeesqaEB27a6YU27lrR0Hyz2jEsBT3Sty3tQwiDCm bzQvuSo7RItO1Hv0hxO9mfzW/3uFgrjaEYxlUVw6Bsq5fImaYKXvsIvLjFxEtXQRRibcKPttj/P 4u9B7SA6F9kFoYMiKfUPnoRNAR/9GXoREvXm/EkUPPJRJ6lyDsJOOXb7VrnloB8baWBJYHsTdsG MSUmv4B/9w7+rUYR93EVbTmd9e3Chkj X-Received: by 2002:a17:90b:4b0c:b0:37f:fdc8:71b4 with SMTP id 98e67ed59e1d1-39b26121f6cmr14637223a91.2.1788568211735; Fri, 04 Sep 2026 17:30:11 -0700 (PDT) Received: from Biostar-A520MT.. ([187.94.13.245]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3339aa31b24sm9745628eec.13.2026.09.04.17.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2026 17:30:11 -0700 (PDT) From: Breno Rodrigues Alves To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, arnd@arndb.de, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-usb@vger.kernel.org, linux-sound@vger.kernel.org, linux-staging@lists.linux.dev, linux-fbdev@vger.kernel.org, linux-security-module@vger.kernel.org, Breno Rodrigues Alves Subject: [PATCH v5] Kconfig: fix typos in core makefiles and purge defective DVB debug (v5) Date: Fri, 4 Sep 2026 21:30:05 -0300 Message-ID: <20260905003005.118245-1-breno3011alves@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Automated review from Sashiko AI revealed that re-enabling the legacy DVB_ULE_DEBUG code via CONFIG_DVB_ULE_DEBUG exposes severe race conditions on global state variables, leading to out-of-bounds memory corruption. Additionally, the debug block suffers from undeclared identifiers (TS_SZ). Following the core kernel principle of eliminating dangerous, unmaintained code, this patch completely extirpates the defective DVB_ULE_DEBUG block from dvb_net.c and purges its corresponding configuration symbol from the Kconfig tree. This version retains the verified MediaTek bugfixes and ghost purges: - Fixes MediaTek interconnect typo mapping mt8196.o to MT8196. - Fixes MediaTek regulator typo mapping mt6316-regulator to MT6316. - Cleans up the dangling comment in drivers/leds/Kconfig. - Purges verified legacy ghost weight. Signed-off-by: Breno Rodrigues Alves --- drivers/interconnect/mediatek/Makefile | 2 +- drivers/leds/Kconfig | 1 - drivers/media/dvb-core/dvb_net.c | 6 +++--- drivers/regulator/Makefile | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/interconnect/mediatek/Makefile b/drivers/interconnect/mediatek/Makefile index 6bd656668..64170ab16 100644 --- a/drivers/interconnect/mediatek/Makefile +++ b/drivers/interconnect/mediatek/Makefile @@ -3,4 +3,4 @@ obj-$(CONFIG_INTERCONNECT_MTK_DVFSRC_EMI) += icc-emi.o obj-$(CONFIG_INTERCONNECT_MTK_MT8183) += mt8183.o obj-$(CONFIG_INTERCONNECT_MTK_MT8195) += mt8195.o -obj-$(CONFIG_INTERCONNECT_MTK_MT8195) += mt8196.o +obj-$(CONFIG_INTERCONNECT_MTK_MT8196) += mt8196.o diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index d0d318223..800fbd560 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -873,7 +873,6 @@ config LEDS_UPBOARD This driver can also be built as a module. If so the module will be called leds-upboard. -comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)" config LEDS_BLINKM tristate "LED support for the BlinkM I2C RGB LED" diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index a2159b2bc..3b503695e 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c @@ -68,7 +68,7 @@ static inline __u32 iov_crc32( __u32 c, struct kvec *iov, unsigned int cnt ) #define DVB_NET_MULTICAST_MAX 10 -#ifdef DVB_ULE_DEBUG +#ifdef CONFIG_DVB_ULE_DEBUG /* * The code inside DVB_ULE_DEBUG keeps a history of the * last 100 TS cells processed. @@ -320,7 +320,7 @@ static int dvb_net_ule_new_ts_cell(struct dvb_net_ule_handle *h) { /* We are about to process a new TS cell. */ -#ifdef DVB_ULE_DEBUG +#ifdef CONFIG_DVB_ULE_DEBUG if (ule_where >= &ule_hist[100*TS_SZ]) ule_where = ule_hist; memcpy(ule_where, h->ts, TS_SZ); @@ -659,7 +659,7 @@ static void dvb_net_ule_check_crc(struct dvb_net_ule_handle *h, h->ts_remain > 2 ? *(unsigned short *)h->from_where : 0); - #ifdef DVB_ULE_DEBUG + #ifdef CONFIG_DVB_ULE_DEBUG hexdump(iov[0].iov_base, iov[0].iov_len); hexdump(iov[1].iov_base, iov[1].iov_len); hexdump(iov[2].iov_base, iov[2].iov_len); diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index 5a764cec8..f81d1f31a 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -107,7 +107,7 @@ obj-$(CONFIG_REGULATOR_MP886X) += mp886x.o obj-$(CONFIG_REGULATOR_MPQ7920) += mpq7920.o obj-$(CONFIG_REGULATOR_MT6311) += mt6311-regulator.o obj-$(CONFIG_REGULATOR_MT6315) += mt6315-regulator.o -obj-$(CONFIG_REGULATOR_MT6315) += mt6316-regulator.o +obj-$(CONFIG_REGULATOR_MT6316) += mt6316-regulator.o obj-$(CONFIG_REGULATOR_MT6323) += mt6323-regulator.o obj-$(CONFIG_REGULATOR_MT6331) += mt6331-regulator.o obj-$(CONFIG_REGULATOR_MT6332) += mt6332-regulator.o -- 2.43.0