From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) (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 4773F225D7 for ; Sun, 4 Feb 2024 16:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707064352; cv=none; b=L56NRr53XGujefB7KJcVrFYV4/M0d0mdWw0bSFNSOtJ/boUpmjzorYsGoiVDiOMTWoNAZXH8q6pCTYdK/Y/lG5KB8W/0b2JgKHETKFmii7Uj/XfmIImUWhMsQZba0EMK4qArkvbzwM9kUphg2jPO5mp7QK9zslv4cDPsr5a6C8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707064352; c=relaxed/simple; bh=pz7fx5GLtOUnibdKLPK/ou7GqtvYfPZOc+X8kDLDlSk=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OwyaGSEhE9cZUWXAmFmVoSSZX38JMmmSUlZJnNx0dy03g+pivyfIZWgMUe341uw0aSl/FXo9ea4V6bs5zJ+NrZL7E0GTKHBEDBjE7kTWz0fhtTNFdKaYLomjWrfGxGeHamvLEiMwas8K0/HKuiiJW0zBu80QSRj0ujFF4YM0qsM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240118-ep93xx-v7-1-d953846ae771@maquefel.me> 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