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 84E183B71A2 for ; Tue, 6 Oct 2026 07:46:40 +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=1791272801; cv=none; b=UKpCYUwd1L+Ds1AzUO4GQxQVnOALAKum3R3flraCPkslIoRi4Lm1SLjHZ8p6vThvdZN2O2ZKflZMBrL8DJIm5gS0b19O5oW4BJUUsp4c2+SXu12Sv3hH2IyqE7FMx8sn1lm7WSpv+W+YYjFDq+JRVCbY3Blo5bebJBnlENawEwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791272801; c=relaxed/simple; bh=STRgP2V7UQ9pHslVf80vr8Ti2mP+s8aAVWbJoUwH4Z4=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=UZmBdFHCsguJMojhWv8TK1wKUVf5Kloe8MKZPElskLufZffVLruyJyudjZH4XQIdOIpXzaU5ktUlN4m2T20r6CBPyOOvV4hhzdppzmT1/5GBz2drFI7wCty1SrL9TWbEuXDiHQicfoNePaxod0EcFG3wnKcrqyC/R4moCumbyck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tX04B4Zp; 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="tX04B4Zp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D967F1F00893; Tue, 6 Oct 2026 07:46:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791272800; bh=Afhx7hCpQWbeu+GlqamGw1fvizrryO1K3ds3PTK3Z3s=; h=Subject:To:Cc:From:Date; b=tX04B4ZphLW3SEaWRwg80OQEVY91cae6Gv1623rakscO2W9wu47/NMVZ9G6N5fNfz nh8eBYLa8APfzQuYVwrKKx2E9aDprm3buL/Woo/QqQixhFhH9+6Skxo92HQq7i7A5z +TkB9+gu+bHFPkhdm2/kjdqtpxtzfKbK4M8E7wTM= Subject: FAILED: patch "[PATCH] iio: cdc: ad7150: fix OF matching and publish module aliases" failed to apply to 6.6-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-nursing-grandma-6ae9@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.6-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.6.y git checkout FETCH_HEAD git cherry-pick -x 52da294027f53e7084c18dd4b4f73354a40382f3 # git commit -s git send-email --to '' --in-reply-to '2026100633-nursing-grandma-6ae9@gregkh' --subject-prefix 'PATCH 6.6.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",