From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu-Chien Peter Lin Date: Tue, 29 Nov 2022 10:42:02 +0000 Subject: [PATCH v2 3/6] lib: fix fdt_parse_plmt_node() In-Reply-To: <20221128091420.30391-4-heinrich.schuchardt@canonical.com> References: <20221128091420.30391-1-heinrich.schuchardt@canonical.com> <20221128091420.30391-4-heinrich.schuchardt@canonical.com> Message-ID: List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Nov 28, 2022 at 10:14:17AM +0100, Heinrich Schuchardt wrote: > cpu_offset, cpu_intc_offset must be int to discover failed invocations of > fdt_node_offset_by_phandle() or fdt_parent_offset(). > > After determining cpu_offset we have to check this value and not > cpu_intc_offset. > > Signed-off-by: Heinrich Schuchardt Looks good to me. Reviewed-by: Yu Chien Peter Lin