Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80A533559F8 for ; Tue, 6 Oct 2026 07:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791272804; cv=none; b=WAmaemISlHd0SH8Wv6KC2eeatoIyfb6Voa5kVER+cPzbzLdI54GZ8C3HHBkNjVaCnopTU4fIUW/TwyVPckQO7cbnnANqojtIOztcYRnikZbropXtl6F/OSp2puJQqlF0TmBdc1oMrpRb398Dy0cYRCjJaRXrcxAHQUgUdu8P50g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791272804; c=relaxed/simple; bh=CDclrCJjX2Af5TOr1OWc/YbV/J/JHTBsJaxVwGfUicw=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=QmX65VsKK1tOVq3dykwDqFaWzNuEsNj4MNw5BDa19XCaQtXxaHcRtb4CDCiklq6jBC1nBNv47Rcwr+rAg2ZKJdSXn24tcnqLDXI9K71m5wqfXiynBPmncSbGywmPkp2giF/DGiy8G2aTd3rQfIHcRxEnpFMLP74zeiubp6m6/2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t2T90snU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="t2T90snU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE1941F000FF; Tue, 6 Oct 2026 07:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791272803; bh=NxE+ZBYkpoQDiS6RgUaiNxZrIX4k61FMcr3JA2eaavU=; h=Subject:To:Cc:From:Date; b=t2T90snUxhR45KV/FCqb0iK4W/5uYsLcFi7lZWaY7cBYmcnBPchJ2gl5w/CsOXMIV 6zhNbXgWPu5KE3GVpGJNJtQMSRV0vPBPMGUqV+H2xOCBwGwcUZ0k/Z3Ve/AzEl9NHV PA0KVEhHfL8gUHIpArHuKRvDq0bbGZ+Odp5yyzNk= Subject: FAILED: patch "[PATCH] iio: cdc: ad7150: fix OF matching and publish module aliases" failed to apply to 6.12-stable tree To: hppiscas@163.com,jonathan.cameron@oss.qualcomm.com Cc: From: Date: Tue, 06 Oct 2026 09:46:33 +0200 Message-ID: <2026100633-unworthy-blubber-b832@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.12.y git checkout FETCH_HEAD git cherry-pick -x 52da294027f53e7084c18dd4b4f73354a40382f3 # git commit -s git send-email --to '' --in-reply-to '2026100633-unworthy-blubber-b832@gregkh' --subject-prefix 'PATCH 6.12.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 52da294027f53e7084c18dd4b4f73354a40382f3 Mon Sep 17 00:00:00 2001 From: Pengpeng Hou Date: Sun, 20 Sep 2026 11:33:03 +0800 Subject: [PATCH] iio: cdc: ad7150: fix OF matching and publish module aliases The OF match entries use positional initializers, which initialize the name field rather than compatible. Consequently the advertised AD7150, AD7151 and AD7156 compatible strings do not describe OF compatible matches. The table is also not exported for module alias generation. Use designated compatible initializers and publish the OF table. Keep the existing I2C ID table and its device-variant selection unchanged. The issue was found by our static-analysis tool. Fixes: 89f2d5b080bc ("staging:iio:cdc:ad7150: Add of_match_table") Assisted-by: LLM Cc: stable@vger.kernel.org Signed-off-by: Pengpeng Hou Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/cdc/ad7150.c b/drivers/iio/cdc/ad7150.c index 2f35c6d2f9ce..b36ac4e2dae8 100644 --- a/drivers/iio/cdc/ad7150.c +++ b/drivers/iio/cdc/ad7150.c @@ -636,11 +636,13 @@ static const struct i2c_device_id ad7150_id[] = { MODULE_DEVICE_TABLE(i2c, ad7150_id); static const struct of_device_id ad7150_of_match[] = { - { "adi,ad7150" }, - { "adi,ad7151" }, - { "adi,ad7156" }, + { .compatible = "adi,ad7150" }, + { .compatible = "adi,ad7151" }, + { .compatible = "adi,ad7156" }, { } }; +MODULE_DEVICE_TABLE(of, ad7150_of_match); + static struct i2c_driver ad7150_driver = { .driver = { .name = "ad7150",