[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210908094145.babedcd252d8e8caf0e2f2ad@kernel.org>
Date: Wed, 8 Sep 2021 09:41:45 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Punit Agrawal <punitagrawal@...il.com>, mhiramat@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] tools/bootconfig: Fix a compilation issue with
missing variable
On Tue, 7 Sep 2021 20:24:00 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Wed, 8 Sep 2021 08:07:10 +0900
> Punit Agrawal <punitagrawal@...il.com> wrote:
>
> > While looking to build bootconfig tool in order to debug a kernel boot
> > time issue I noticed that tool fails to compile. The broken changes
> > were introduced by commit e5efaeb8a8f5 ("bootconfig: Support mixing a
> > value and subkeys under a key").
> >
> > Fix the compile issue by introducing a "ret" variable to track the
> > return value from xbc_node_compose_key().
> >
> > Fixes: e5efaeb8a8f5 ("bootconfig: Support mixing a value and subkeys under a key")
> > Signed-off-by: Punit Agrawal <punitagrawal@...il.com>
> > Cc: Masami Hiramatsu <mhiramat@...nel.org>
> > Cc: Steven Rostedt <rostedt@...dmis.org>
> > ---
> >
> > (Apologies for the resend. I fat-fingered the email address for lkml)
>
> And I'm resending my reply to have it recorded as well.
>
> >
> > Hi Masami,
> >
> > I am not sure what went wrong but the patch in the lore link[0]
> > doesn't match the end result (bad merge?). You may want to recheck the
> > other changes to make sure it all looks sane.
>
>
> Thanks for reporting this. This is strange. Especially since it's all
> scripts that are used to import these.
>
> I do remember doing a rebase to fix some issues in another unrelated
> patch. I wonder if I accidentally messed this up during that rebase :-/
>
> I'll have to investigate this.
>
> I'll checkout the tree before the affected patch, and reapply the
> changes from my scripts to see if it wasn't my script that broke.
>
> Again, thanks for reporting this!
Hi Steve,
I've investigated that why this happens here.
https://lore.kernel.org/all/20210831033256.5973-1-jcfaracco@gmail.com/T/#m52f43f6deb874ee726b10ce25ba53e44697a275a
This seems a timing issue. I acked a "simplify" patch April, and
the I wrongly worked on the linus tree for "mixing a value and subkeys"
and send it to you June. At last, those 2 conflicted on your branch and
your merge script might just merge it.
Actually, what Punit and Julio did is reverting
commit 30d103f2d460 ("tools/bootconfig: Simplify expression")
Thank you,
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists