Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2304696rdb; Mon, 5 Feb 2024 02:16:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLrGKPJiDlmGfj1hcawRVQJa02wGE9KsvJ/lb8LMNyV4pKWGomM4UCavnarLit5YKammst X-Received: by 2002:a05:6a21:3482:b0:19e:5db6:cc32 with SMTP id yo2-20020a056a21348200b0019e5db6cc32mr4110707pzb.33.1707128200494; Mon, 05 Feb 2024 02:16:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707128200; cv=pass; d=google.com; s=arc-20160816; b=Chypc2y69FalZ4y0nSJ9s8YeX8zcLJhNs0LdmVhrEzSa5c1nYCj8Fi3WjLUEKLsOtZ UeOv2jnXIJYFwFHDKxwg+gVAnxzly0ElIh72kRHxu/AkkzaXZVVFBHBMyKns+CHXv61+ K2G/DgJMXLwtq24TVWWdKbk5Oc4QpPfCvQ2AgEyPuutgW1g3xm8gQ41l3/9YI3KvKv+G Tjs87f2jc+ZPRTKNZ7H9voyS23zsASw+kRPrflkSrAvbpADIDGdkxu6MSb/JSzSQuZ+q Klxrd68unncQLcsyjIwugZmGEDWJlBuCVbv5O2KM8Y7nzs4peGNZHoAOpL1/a81AQYXm 3DEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=71ZuiyPuLoLtSePbfj3fsGKQETE1wQmqWlZnyQ+YngQ=; fh=sHGUzTU5Vmcdb8Xfni+C3F8Bbgo3wktcEbk2Ktxjl9Q=; b=W7CM/ICQN6swzhMJHyW4Gl55saC2HK5+N7ilwyUoDx657H0vuhhuhF1j/wvuVZmvIA b7rGANwe3PrrqMdZksZvZkjv/sOrijueRTq4xc+gzG9HoMHigJgIgXLMdS+7KlQOZiN9 VamXNk4NE3tKMC5kXSSaFsjXkn2W3V7vGX76dHM57cANPXuvAEy/hoDY/TZHCUh4WAvB 2d1V+bO+/zI51vzvG+dAt/DwJMHJmu7gu1nm8aGVOQk/sbPmvDJDg89qDeLLMsxmN+LF 1bGLyKLp2B5E4Eq1oa44po+/qYHwGc9vlBYhIBM1sEA2fsHQOoo993ek0i1p/sqAGhaB yrdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=rMvh53PR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="S8otuE/B"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-52373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de X-Forwarded-Encrypted: i=1; AJvYcCXrR/nWZo2T4k3hWCRavfwZ3CzLMFIRvyx51IwtCAzidsZp3qFuWwILcYX5imB+8sZfjNLRx5nCAQmVOAHRyqiCk7NQeO9zumpdNPLIUg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z13-20020a17090acb0d00b0029678de3696si2897674pjt.132.2024.02.05.02.16.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 02:16:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=rMvh53PR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="S8otuE/B"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-52373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6F3A528F0CB for ; Mon, 5 Feb 2024 10:03:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F8891428A; Mon, 5 Feb 2024 10:02:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="rMvh53PR"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="S8otuE/B" Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 BA31D1426B for ; Mon, 5 Feb 2024 10:02:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.29 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707127351; cv=none; b=fevI7KG6YEEWYBVIePSI4hvgDJOjviyb8i/JdtK+Rm/5eL2pIrxMas5ncMtl4+g9NWT/JRfQvaKgvoTc7mVVKgv3MCrcT+g1WuTQ8TSt9WG26b/B45Mh72m0WMdhlB/NAxaMAuU38WSu0l2p/iZnTRFkxlEy1GAGxYt0F2UqvnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707127351; c=relaxed/simple; bh=RE925lmrTN46q5uxL6/B+2Wt/4/4f4Wo1AXATendHFI=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=dApXcAIwggy+HAxW/RF2vriioBmrlpMU8/wJ0q9snBMyWNXnuB0AFclrUlUv7SA453DNi6H3ZFRzw+J7jAuqtjRLIPIlg/t9j3A1sXMHG+tFdj9riAcWCqa6JkeNG/dPOpnAR4eH/717UBgFjC3CHU8Y1XrIyO7o/0FIsojYrkw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=rMvh53PR; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=S8otuE/B; arc=none smtp.client-ip=66.111.4.29 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AA68D5C0109; Mon, 5 Feb 2024 05:02:28 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Mon, 05 Feb 2024 05:02:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1707127348; x=1707213748; bh=71ZuiyPuLoLtSePbfj3fsGKQETE1wQmqWlZnyQ+YngQ=; b= rMvh53PRtXsYOaAwhaW5E4RGlpEjT20uu4a9OXU7Un+adYliMKB+B6dYn3Xw02h8 MixXgyaW0/hU2GDXaZTJIsV7SvKWtWwOy1nzmLgkNWXpcOx31DUnX+/tEAg6EauW Pa2VLht+WRyDcnRZNtYAP2YS4LDqu8tLWF0izSHk+Jbe22+aH10bHLkFBw3gsbt0 VO2slJlDtuq4aHfdLcMHZaeY0IOt20HB6YdncyErjeTLucSAABIU4NSwxXsFRKXo X1mM1yXLyQiDs4MN83ItDaKbI1st/2cDOBFnMgFqtzdG7bv6AXxIMnuZCxsOcu+F VynVFlNk14CSDVjfhIkFtg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707127348; x= 1707213748; bh=71ZuiyPuLoLtSePbfj3fsGKQETE1wQmqWlZnyQ+YngQ=; b=S 8otuE/BIHMEvYwxIII+ZfxHSzPAFyOIfjcdJL42Htr7/8mxEJ0x47QSFWpOjiT10 LaC1p5MKDoAVlrZ6eLXizvra2YhbYz141U0l5zkVzGPX0MjSHdU4IVvYDIbIcC+2 VyxfoPFyUjvjZZAvfKwae3XkOSQGk0KBBsljPun7Vcli98eKVMbV6+eqSucItD1x 9ICtO4ZPSGi8iK0Tedu1Dtfd/QgQkNwFpOYEm4fs2c5v0k8vixMM/bwvywiGAAss KbVXHNBYCdIN/aof8mLXDWhhcc/FyW/An7VRS8sGYmDbWgglPfSITRlhSN7maIui zUArMt1DeMrjI3JclS4BA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvtddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AB8C2B6008F; Mon, 5 Feb 2024 05:02:26 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <86ae775b-b3ab-45db-9541-95fcc0e17b5e@app.fastmail.com> In-Reply-To: References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> Date: Mon, 05 Feb 2024 10:02:06 +0000 From: "Arnd Bergmann" To: "Alexander Sverdlin" , "Linus Walleij" , "Nikita Shubin" Cc: "Hartley Sweeten" , "Russell King" , "Wu, Aaron" , "Olof Johansson" , "Lee Jones" , "Ralf Baechle" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Andy Shevchenko" Subject: Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Feb 5, 2024, at 09:42, Alexander Sverdlin wrote: > Hi Arnd and all, > > On Fri, 2024-01-19 at 00:52 +0100, Linus Walleij wrote: >> On Thu, Jan 18, 2024 at 9:22=E2=80=AFAM Nikita Shubin via B4 Relay >> wrote: >>=20 >> > From: Nikita Shubin >> >=20 >> > Without the terminator, if a con_id is passed to gpio_find() that >> > does not exist in the lookup table the function will not stop loopi= ng >> > correctly, and eventually cause an oops. >> >=20 >> > Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors") >> > Reported-by: Andy Shevchenko >> > Signed-off-by: Nikita Shubin >>=20 >> Sorry, my bug... >> Reviewed-by: Linus Walleij > > Cc: stable@vger.kernel.org > Acked-by: Alexander Sverdlin > > Arnd, could you please take this into arm-soc? > I can send a PR, but this probably makes little sense for one patch? I'm travelling at the moment, but can take it when I get back. If you want to be sure it doesn't get lost, please send the patch (with the Acks) to soc@kernel.org and it will end up in patchwork. Arnd