From nobody Sat Sep 26 03:10:50 2026 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 9E1B52DF134 for ; Sat, 5 Sep 2026 00:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788568215; cv=none; b=PTfseIES3DHj062Ui3glkezSN0oKBvkc+uh54JNROfiAS6lQnafPw7m61hN6O1/NHGaOQGi613kI0hf28R689N09J/5vMI+TESMBAJ/U5LvlWnvZ2+v9rJornRrLlubhcrk21yCxnRqSC0LmhsOVZBmyH/HCCC7/sgY2pQur6Ho= 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.54 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-f54.google.com with SMTP id 98e67ed59e1d1-39266382df6so1346067a91.3 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=K7Fo66FQ/ptJN4e+I1Z+jt1DtRIKzhB0nNQoPnbMwSW0HrjZsBw/IMi9hY0/Ge7cXd +/GT883jx7knKXHt2WpdowrwSr8/+61abU5OjzmHAiy9kdumQlae+h+M4sa1sXIknC7w hSrMUEuqU9mHBU9fj8nGO1fAiP+dAZc/fOYNtMWkXHH02dxL2Gph4iMhDJtqX+XCmcdS jSvxFZ6k2HMT7Vtn05S+t93CcWRCkGUr/VVe1ZdNdfkdeGIex/xcLd/MKc5dsFZlSW4L VWHJAc2knjk1+GiffQG49TnqpKGv4+mHhXMCE+W8LEN5p92MlsddJM1I2aoPARvmUGfc jYcQ== X-Gm-Message-State: AFuF++k477AB1Jnp0niIVNAEbvix8AM9hfuPA2TM3pT/5rEi4b6rzM/3 DfGQSLrV8y6Tr+b9jcNSrccnj8FXQwyH7Z7oGD236KcCYzaGsw03IaTl X-Gm-Gg: AYBFou1Jd+3NumggiGF3k5NUr9Dm3RLhQ5pcEr0f0Gq0gR7ArlroS9tfcL2bzcZyjao g31Z9al7zzoTg1d3W/SsSiM99S2e9C+jO/Ti/S6l1Up30g7Bxz9RHJQGdEZFKCQqNOJsfOUpYdr PdIhVj5w6/2qGA+pV0Rn5hg1po/9+QxjKuvTvMmvNEIMMgBimwjuE2D8Bkv6IQtAFh5V6k2/yRO ZZpoByI2gR2aocQ/7t0AcXLYQoBT5c2KbosiGsoMgb3Ih4/GInBIBU4GxSiPCgqVjX6KbkvoD3H 7rHHHecrAIAKopT3alF0gKBZpoXH2W18ZxzJINW3syowL+DYT93Z/zO4ODF81vypN2Z5WgUTm5l CY96sswpto3hXjHe+gKvIqSv5rAlPCipNn76N4NtpChdTAx1/Ee7OyuFAZ36JrDkuIDUJcjNlfs muQJ0Yj7IvVSfTB+cnGwdRn1w3WoT1ahNQWczDrVtsvyeFCMOJL8tmPwu/uC2dS4guh4k7CTzJ6 FrpbMuJRPV3ewFFF+5IgG8Ads25EO9R 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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) +=3D icc-emi.o obj-$(CONFIG_INTERCONNECT_MTK_MT8183) +=3D mt8183.o obj-$(CONFIG_INTERCONNECT_MTK_MT8195) +=3D mt8195.o -obj-$(CONFIG_INTERCONNECT_MTK_MT8195) +=3D mt8196.o +obj-$(CONFIG_INTERCONNECT_MTK_MT8196) +=3D 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. =20 -comment "LED driver for blink(1) USB RGB LED is under Special HID drivers = (HID_THINGM)" =20 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 ) =20 #define DVB_NET_MULTICAST_MAX 10 =20 -#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_h= andle *h) { /* We are about to process a new TS cell. */ =20 -#ifdef DVB_ULE_DEBUG +#ifdef CONFIG_DVB_ULE_DEBUG if (ule_where >=3D &ule_hist[100*TS_SZ]) ule_where =3D ule_hist; memcpy(ule_where, h->ts, TS_SZ); @@ -659,7 +659,7 @@ static void dvb_net_ule_check_crc(struct dvb_net_ule_ha= ndle *h, h->ts_remain > 2 ? *(unsigned short *)h->from_where : 0); =20 - #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) +=3D mp886x.o obj-$(CONFIG_REGULATOR_MPQ7920) +=3D mpq7920.o obj-$(CONFIG_REGULATOR_MT6311) +=3D mt6311-regulator.o obj-$(CONFIG_REGULATOR_MT6315) +=3D mt6315-regulator.o -obj-$(CONFIG_REGULATOR_MT6315) +=3D mt6316-regulator.o +obj-$(CONFIG_REGULATOR_MT6316) +=3D mt6316-regulator.o obj-$(CONFIG_REGULATOR_MT6323) +=3D mt6323-regulator.o obj-$(CONFIG_REGULATOR_MT6331) +=3D mt6331-regulator.o obj-$(CONFIG_REGULATOR_MT6332) +=3D mt6332-regulator.o --=20 2.43.0