[PATCH RFC] fdt.c: fdt chosen cmd had off-by-one issue

2025-04-07 Thread George Chan via B4 Relay
From: George Chan The kernel searching bootconfig will be off-by-1 and never match thus always not found in this case. Signed-off-by: George Chan --- The searching will shift-by-1 and never match the bootconfig thus always not found bootconfig this case. Kernel: data = (char *)init

Re: [PATCH RFC] fdt.c: fdt chosen cmd had off-by-one issue

2025-04-07 Thread Simon Glass
On Mon, 7 Apr 2025 at 18:44, George Chan via B4 Relay wrote: > > From: George Chan > > The kernel searching bootconfig will be off-by-1 and never match > thus always not found in this case. > > Signed-off-by: George Chan > --- > The searching will shift-by-1 and never match the bootconfig thus >