From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 F24243254BB for ; Thu, 7 May 2026 18:15:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778177710; cv=none; b=gDbloD2YvdVstMSwdNLuquaI+QPAg7WKsKpXJrRRPatw0/GTLWgMmUhpN/SLQPljBeOedjV5p0ixg+0kqEOkH5oQcIVsS8PU7cTvhV+HViqQoONxqD4Fdw0rqfrN4YlWqRKio1KtY4fYoaXG4F8HzLr0vYySpXjejGpzzRyzwno= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778177710; c=relaxed/simple; bh=wDT/CXMgDAeERRS/uldqpIrEqP67RnegxnuBFxi1XXw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=QRQj4X5zlWu67wTyIDSNsahfPKqidwiyGOkWw0MN2hjPavYafxWyb62/FjVmQEiQdZeZglASIyUXxV5G15TcwQ1AUeqfm9dBUlGgOQnNqGYkrwaoj7M80ZRsA94t+G/ST+PUa+nFsUlPXrI8YEULFdN1Hsl2fPyKQFa99DqMnHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kOeSas74; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kOeSas74" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 61F661A3565 for ; Thu, 7 May 2026 18:15:06 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 2CBE9605CF; Thu, 7 May 2026 18:15:06 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4994D10819528; Thu, 7 May 2026 20:15:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1778177705; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=wDT/CXMgDAeERRS/uldqpIrEqP67RnegxnuBFxi1XXw=; b=kOeSas74gjlm/6z6uP0ggTaXL0Ty28UfcC2vhRdigKskc7MsmVP1OCVC53/0Z8Rsn2fszi 4FIs//wV+8989AtQyo/smJDvsnww2bIWXD+Ka3kG3z7ENhWZf8iUqaofy0bTgCfd/YeCVU uMkVDkQwSflg8Knf9MzJY5j07/pywZGt3e2Ult8EaRAh7LONG/Q1E3SrueunuUe1kSAeKh qoAokaHYANNJKObPNu01/RlRiUuW+C1zWb7ikt+WhjPXtGqY/tKNKZspxHf9Qptcl1CuM3 TTAJqebQzaMtCYCp5+hHd53gjE/p3mdlgJtjxMw/K1XISHNDPV8OuBYT/+s8jw== From: Miquel Raynal To: Andre Heider Cc: Srinivas Kandagatla , linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvmem: layouts: onie-tlv: fix hang on unknown types In-Reply-To: <20260507171900.2244151-1-a.heider@gmail.com> (Andre Heider's message of "Thu, 7 May 2026 19:18:59 +0200") References: <20260507171900.2244151-1-a.heider@gmail.com> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Thu, 07 May 2026 20:15:03 +0200 Message-ID: <87y0hvhys8.fsf@bootlin.com> 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=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Hi Andre, On 07/05/2026 at 19:18:59 +02, Andre Heider wrote: > The EEPROM on my board has a vendor specific entry of type 0x41. When > stumbling upon that, this driver hangs in an endless loop. > > Fix it by keep inrementing the offset on unknown entries, so the loop > will eventually stop. > > Signed-off-by: Andre Heider Needs a fixes tag, otherwise: Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l