Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2292596rdb; Mon, 5 Feb 2024 01:45:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGszRENR5BfNDBLlKZi0D+RH7agAwcN5BwtChLnvrTBH6mvtonCcYm8KfBY77KKGXi5aj4H X-Received: by 2002:a92:c902:0:b0:363:7985:eee3 with SMTP id t2-20020a92c902000000b003637985eee3mr10080054ilp.24.1707126352609; Mon, 05 Feb 2024 01:45:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707126352; cv=pass; d=google.com; s=arc-20160816; b=m1+xcx8AeWDek4BK1ykDaRUGBZlo957SVfIs2gZIUMmf40MX3RiRlJr8fw27LOv7NX yOtlQoYmfEu4YktK4138MtbROXJAxowAyUJISLM+UXJSKKgMvAJyC3TmQOoUS2zDPQwg JYTvC6iYCm7NzuVGM/lAI+68fNR1H3y5FKxNd1xrh/L0OuFagDMk7TUaIAvw4v5VxPXF XkNA1YVEr0OAOtP4dpJz+OG32vZNJWuCwHjj2r41kYf8In1Tf37Cdck2tnUWNJaOFv+F lHsYEnuCZ1y0zkKDa1ivv3t5rkYcaWxHJQEIB1CUTswXVwxaNfzWFGpOSmuZ78HM4f5s YhAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=gHyQystWqCUly3tPbrkhBCPw6gsoNujzTRVoP5CQ7pM=; fh=CFeyJjNkiq0CYz4xabasuu6aIy022BXMI+r6cx6EEEw=; b=LAqgU5lUB+X0nzQdWx01lLGLY0KH7JnIsKmvlN/SCmdsyGaSTC6RcPnaNQlw7xrBmS XEWt5mAi1RC2bMnzebtNTylTlX5vzrE8c/vtUUo3KK6NOFRe8TuwACA2gwaisUs1goaF Pmmc37tx05etu6bGrK+q6nhtXRxN60XP5wzdQ4vA4sqqkBtb3idfYmN78EBUHFL/tWD3 6Bxs2WvQSwP4fThUaEa77kiykzSsCYZUga3BfFcs44WmZzqooCljBN7ohKeLwzKlwV1N eAdedZ+g0BbJUxIz2su4BK7I4+//ukCGQNZyzAqhek9q6w95GGaXmdU63ZDr0qSOxnXf mFpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TZVclzhN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVI414jwUjkPQmgExgxmgZfqRxviNbUdoCm4/84osyQTwdl2WF4vc1x30vNFhxPFEiR0dNIDigwX1I+Lkp5/ViT5SrWlRtX6cyg4VuqMg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i15-20020a63584f000000b005dbd4cf4466si5842613pgm.122.2024.02.05.01.45.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:45:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TZVclzhN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52334-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 2A1EF28B25F for ; Mon, 5 Feb 2024 09:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9086512B93; Mon, 5 Feb 2024 09:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TZVclzhN" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 04C4612B7C for ; Mon, 5 Feb 2024 09:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126141; cv=none; b=Rbwy+B7EiXhD/1IjJdkOn1fJZHQeg28pegjsE59i4DhHexgXTzhgpoSEBNugkpLYCl9ACXAIZMRL5GzMe0uIpyZ49GqlH2yOdwf0RVDu1HKWrpPGwalStbvbrth05r33Jpe8528hxflAeUAnpZo0Fq8NKc6+RkHq0CD+O8TzXdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126141; c=relaxed/simple; bh=gHyQystWqCUly3tPbrkhBCPw6gsoNujzTRVoP5CQ7pM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=dBg0QRo90vlHsVbfINzkrCHt850mckTYjTn8oEYVlG9lC0TExyLJTROLcOsY3UeeVf3oFc+rKyJ7oXDuoPdwmpCUe/c4vB9Jp2uqFcO7d89EGFSUKAyahoNQ0Hh4BIEV07p0VwOZxSwviceNdi9dbZP1HrwOQZDhpQPZj+DPk08= 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=TZVclzhN; arc=none smtp.client-ip=209.85.218.44 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 Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a30f7c9574eso559885366b.0 for ; Mon, 05 Feb 2024 01:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707126138; x=1707730938; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=gHyQystWqCUly3tPbrkhBCPw6gsoNujzTRVoP5CQ7pM=; b=TZVclzhNDXX5igsFww/pl1DCJPSHf+PRoYYkLcTro+OlbHCyd1CgUYXN4AbziAyMcO gOhr/kmN26YR/l397Nuwe6UDCKlsVraOIxTMGcVtpSBCkHhg5jf4LCiSqt3dyBfaQF96 56mWpbgNvBqHtW1iADtoedyrh/R1/aoO3/F/rUNsRiNvz2etIdZ9ORQxcEtSuZH/X/m+ Gl0gP4jRDYE81j+mGaetwRWUaQyWBxCg6p+ltl14LGdNTY1/g3QwWuo0QvxtoFtC2T8V ctTHK+D5skGG9rwnB9E+VLkFqe0WWyycQAZm/6I8Fu62jV1qlAVQ43HvsQShPFZTLGUf 20Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126138; x=1707730938; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gHyQystWqCUly3tPbrkhBCPw6gsoNujzTRVoP5CQ7pM=; b=c2ABaAuUN95tT6xgH/XMvfIZCeYc1xaJ/B7GDiqBJbHgf8xgC0+2TDoDWH4DQe5k1K l5YdBI1+S5SJiJG+9DCoKS8TmQo+jzBpo9UIzl4pJheE9dDhcao4CZgFVkO3d+VvPZPg AEefwUQr2QHVpE04exCSkdKAm18L9zpekROEWytGN6Akw69D5OwlJWcZPAoNMQonjPld vmMGbfIQ7GQyDwgjiGOBruQeEeSTRwXtKprTDNYIwA38ZFCsP4T1a5Df+oNoF7pEXDLb glNH1oyKBVj5I+nGMy2Wk1KE0tZMSBXb/ALTGyo6XM2Ez8szf/hB3gAiiEhAs061ef1X jjxQ== X-Gm-Message-State: AOJu0Yw5BtElVPueQrZI4wAemku98xSekuuOnOtiJe57gl5vEnNNgH3j 9M6TJLvC5qAj0dFIs6mX9CXKlb++d32tjSrLbqASyYzGJKit5lHq X-Received: by 2002:a17:906:b254:b0:a37:d1a2:b1ef with SMTP id ce20-20020a170906b25400b00a37d1a2b1efmr960567ejb.25.1707126137942; Mon, 05 Feb 2024 01:42:17 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU73j1hGvgo1cN/412vOLyJMA6Xn43VwIAKndzoz7uLo92Sg8la3H7sR2TSRd7v3uwycL/9Q2Kd3RDANgCo8ybx1/0U8EukpfuBR08HR+tKLwK3bhVzuiR7JpeqPM/ASsldhppHtfLO3PM+aubAl9AUj7G89c6fMyVF9+Vt2xqshLJLutExK2wVNj3FjUt+Pgjc15gRTpqvFmHP600YbOI3A5LTE3oniYz47W8VKA2YkFle0id4eGvYlc7uxhV/JZQUYn+kyQVNE1IS8AOrPZAkQ5/c7tx0qc4FUpD2/xGnNdSu+6/YKXfqEYdLyc4puKG7W9BiPyYUpcKN1B7UsPZfBC0JWFvcU4/U4aIoDt/jNFt3prer+paAbNw= Received: from giga-mm-1.home ([2a02:1210:8690:9300:82ee:73ff:feb8:99e3]) by smtp.gmail.com with ESMTPSA id cx3-20020a170907168300b00a2cd74b743csm4142231ejd.3.2024.02.05.01.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:42:17 -0800 (PST) Message-ID: Subject: Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table From: Alexander Sverdlin To: Linus Walleij , nikita.shubin@maquefel.me, Arnd Bergmann 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 Date: Mon, 05 Feb 2024 10:42:16 +0100 In-Reply-To: References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 looping > > 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? --=20 Alexander Sverdlin.