Re: [PATCH v4 2/5] x86: Add resolve_cmdline() helper

From: Evgeniy Baskov
Date: Fri Aug 26 2022 - 21:51:15 EST


On 2022-08-26 14:35, Borislav Petkov wrote:
On Wed, May 25, 2022 at 01:10:10PM +0300, Evgeniy Baskov wrote:
Command line needs to be combined in both compressed and uncompressed
kernel from built-in and boot command line strings, which requires
non-trivial logic depending on CONFIG_CMDLINE_BOOL and
CONFIG_CMDLINE_OVERRIDE.

Add a helper function to avoid code duplication.

Signed-off-by: Evgeniy Baskov <baskov@xxxxxxxxx>


You have some weird configuration to your git send-email which doesn't
add the "---" to split the patch commit message from the diffstat.

Thanks, apparently "--summary" removes that.

...

So that has been switched to strscpy() in the meantime:

8a33d96bd178 ("x86/setup: Use strscpy() to replace deprecated strlcpy()")

I did already replace strlcpy() in v5, but since there are new changes
needed, I will send v6 with those changes applied soon.
So, please, ignore v5 then.


Please redo your set ontop of latest tip/master.

Will do.

Thanks,
Evgeniy Baskov