From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E581C48286 for ; Sun, 4 Feb 2024 16:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AyBseqC+MLPxjovjTJ3gmRpXcv3OpM6p7wscDj468F8=; b=fm4yy+znwqX7HL 2s2j/JVjBBEahUHZ+OlGwBeFWCGlT+lteVkxf8bjUUFPSrS8uviYSD+T5N+VYjlA9OHCZcEvEgogq +1qYVijE9K5ePtaB0NLvBUl6/E5SCmaimht+2IgyAKdF7GflVDvzO5J03pwL6wT0C5MSlIT/xogdQ eMXY8USUGA6o0wQZKQ2INEDzIFJC2jBJngWy8GlMmR/Hb59awDjWohxPYX1+n7EHZSktWnWzzSI1Z XeBYSkyJaMwGOAnRG17pxut9129e5BHzUJVepQIoIcszMhEdp8wvMLxhlMr4FYkoE78GIG8ziHq9v VxFsi6QbS0f4vizy+UpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWfQ2-000000018TK-0LTq; Sun, 04 Feb 2024 16:32:34 +0000 Received: from fgw23-7.mail.saunalahti.fi ([62.142.5.84]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWfPy-000000018T0-39aV for linux-arm-kernel@lists.infradead.org; Sun, 04 Feb 2024 16:32:32 +0000 Received: from localhost (88-113-26-30.elisa-laajakaista.fi [88.113.26.30]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id fbe6de40-c37a-11ee-b972-005056bdfda7; Sun, 04 Feb 2024 18:32:28 +0200 (EET) From: andy.shevchenko@gmail.com Date: Sun, 4 Feb 2024 18:32:27 +0200 To: Nikita Shubin Cc: Hartley Sweeten , Alexander Sverdlin , Russell King , "Wu, Aaron" , Olof Johansson , Lee Jones , Ralf Baechle , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Andy Shevchenko Subject: Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table Message-ID: References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240204_083230_972528_8AAA9040 X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Thu, Jan 18, 2024 at 11:20:44AM +0300, Nikita Shubin kirjoitti: > 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 I prefer @linux.intel.com (sorry if I haven't used that one for the report). Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel