Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp676066rdb; Thu, 18 Jan 2024 15:52:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhlGK01uVxlMi8vIKiAvlpROG6RU2mP2krfaFSPSGp3oil6cJbPto3CP1hj83IfgZHwaMy X-Received: by 2002:a7b:c041:0:b0:40e:4f42:682b with SMTP id u1-20020a7bc041000000b0040e4f42682bmr833622wmc.51.1705621969297; Thu, 18 Jan 2024 15:52:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705621969; cv=pass; d=google.com; s=arc-20160816; b=wdqDMjo+/2x7Ue0Tz74ghi8LZRRBHQ9MQKjCUcN6fIjOPmJ5PV42BfUJvY+8q5EGaI tUdC6besY+tm8T02Lr2nzCKNLLnJLrlbk3Gsrnm+OL9ZdGywAEkQKdpAn0gLRGzrC3G3 EyrYKljPOGHuLwEZhPM76twWjbXyl19A9nCACa+2zs4idOBSWxgIsxV1pqJXfs2USV6Y XtnDTt9ycFDYGAGV5QtodUquvFsXnPETmMWOCWi9DRziC8HxjqdeojSJ7IEh4iBsRASO TrWG2U2zl+2EGrPUmE2vXuom5tleEXgBl7C32boZJ/Fn+rTTVyxhcHSw8XizfD+vqn8k qP9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=VITzRXv6Xhk+5ALeOUMfCMRojcMs9MeJX9N0fVB0C7M=; fh=1pHOu2XENycLBLp4QK2I+ld3TsUtt9NMuJi4ILsK9rc=; b=jDbnJhZUFaBrf55/SjstXR6U69GA6dXTiFNa9FcKG0ib6RLHdbplldehjRsfNu5v2v Li/JGuGPdxv2Jg7Sk11Y3jcRyeXHzv7/s220ZkcB/bHL7ra7Gru8wQXN/s+UdJoe9N67 9Mu8POTkmDRXhFmwdATXRFrDjaAJkfzjlGlQ0GTBWlAjiJKaNtzfee6E0K6In1lfiVzK x7eNzSHipST26rcD8uEVcjLYusRMu+ON5UYXq8ojw5p2A3c9t/6nsEv+lEPhAl5RJEWV 8OT0YkTHuzs/YmEmu648tQNjLo6NEhFIWWnltpKSNSjH8bL/nAMiPOJrym1yCRTaA2vF 8Bzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="eM+E/SHk"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y24-20020a50e618000000b0055a5f8d172asi5806edm.415.2024.01.18.15.52.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 15:52:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="eM+E/SHk"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 10BF91F22CA1 for ; Thu, 18 Jan 2024 23:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 977A028E12; Thu, 18 Jan 2024 23:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eM+E/SHk" Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (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 4240728E0F for ; Thu, 18 Jan 2024 23:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705621964; cv=none; b=THgsxjdPAWG+uPHLuLtbdf2BeZ+D0LPIJQYzpKnupq2W0yXbYdNfsXj4F/JmqLGfZ4FurQN7Ee9LntVL8yBYc9IolS5jvIR/QrA67L5AfWSgf1eYdamuRepgyV5zhwwY4Rlq1VJmX3ek3Le8NFVaSd/B3IwIusyzDy9WO8Y37jo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705621964; c=relaxed/simple; bh=VITzRXv6Xhk+5ALeOUMfCMRojcMs9MeJX9N0fVB0C7M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=COnL/kgfsbUhOnu42iEsZCwMbkMjbOu7IS46kzZFWMoXu8oEyTx+atyTQbaJ3eyXsjEldTkCI/qV1qRuVAi1pi7JiME3HoweZA0BuQYkAgYgl+GD9jTgHye/qDYAaFqPXMmqpUqC+mvWbbzW/CXZui0RLaZKb0sXtfeHWLDcKxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eM+E/SHk; arc=none smtp.client-ip=209.85.128.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-5e734251f48so2272457b3.1 for ; Thu, 18 Jan 2024 15:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705621962; x=1706226762; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VITzRXv6Xhk+5ALeOUMfCMRojcMs9MeJX9N0fVB0C7M=; b=eM+E/SHk3djIPFIkaT6z5dUc+fo3SIXpkwM5scZuGmlggFkGerBcYeKyXWze8hXV3y 6YEcvfOKut8sG+YMQ4N4Ahkpx+8X5j4Z+/IaXP2KpeiiorGWM9FEhSSOvHNB+tBk0ztB HzmajT3OLslmMiinW7+XvTl+1gIRAwIsYKfeLUYvqZOyG/0FQ97jP6dKVBPPV/9+gMpe 6ipzT6jrmyWdsaZrvvpg4WhtfzezZZjmAMGgfj0Z4tTg1tgbiI5sv04oHkBoGxUv90oG A9W0YSvvjJ47A3NXM+vPb8EQwZGbdRKa632hR5XJhZNnTBgOPyvTwOftvkr4YXuUTKHe /4jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705621962; x=1706226762; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VITzRXv6Xhk+5ALeOUMfCMRojcMs9MeJX9N0fVB0C7M=; b=XcCMHxLb9PRRh02f5Yl7T10qNclI3aEyNGIIgTpe8ZcLKtnulUzPj7ztJbJ9+H2GPe Y+rW4+zEOgdHA3pihvCZAHxGxjAQyzXiltn7T7HmpIva/OIBufr09FgGuJPxbC+uY9r8 Nq5KEnq9vtH/+iKf59rVApf3ftzsoAO7GSGOqjco0QmeRGdGINMzpBbzpE0/qqxMcQVb WNAWSQJNpjS8gDXFHgYxpm+5k+9ctSZG8VUYtRRTo74HrCuWNkSeiCsUWqTf0+hEauHg 9Jt7mbyApdbBY5zMEWSzsWbIBjcvuNZZlSaZj3/xvpvlfZLRjbMDTF7Kc9QOyBDbdjmG OcVw== X-Gm-Message-State: AOJu0YwVFzQ1sqoZK1b2q2y/8Ryd/VpzAUUoETxxQmlIv5ZNP5JMxmDe l01lbvkOLR5/bvs/BOL7iIKdxxhgDWoIjC1Jdk0xipYOB4uDuYIvkNWAvwzX3Oz3E8T8qiLkc1Q NbCovgqNfS2gW0hKThdIeLUqj2rYJG6Ogc3gd7w== X-Received: by 2002:a0d:f947:0:b0:5ff:9175:b102 with SMTP id j68-20020a0df947000000b005ff9175b102mr92813ywf.25.1705621962046; Thu, 18 Jan 2024 15:52:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> In-Reply-To: <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> From: Linus Walleij Date: Fri, 19 Jan 2024 00:52:30 +0100 Message-ID: Subject: Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table To: nikita.shubin@maquefel.me Cc: Hartley Sweeten , Alexander Sverdlin , Russell King , "Wu, Aaron" , Olof Johansson , Lee Jones , Ralf Baechle , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2024 at 9:22=E2=80=AFAM Nikita Shubin via B4 Relay wrote: > From: Nikita Shubin > > 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. > > Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors") > Reported-by: Andy Shevchenko > Signed-off-by: Nikita Shubin Sorry, my bug... Reviewed-by: Linus Walleij Yours, Linus Walleij