Re: [PATCH v1 1/1] soc: qcom: cmd-db: Use %*pEhp specifier to add some sanity
From: Dmitry Baryshkov
Date: Tue Oct 13 2026 - 17:51:02 EST
On Fri, Oct 02, 2026 at 12:30:46PM +0200, Andy Shevchenko wrote:
> As Sashiko pointed out in [1] the %*pEp makes the whole thing
> like "no escape". To add some sanity to this the used specifier
> also includes ESCAPE_HEX.
>
> Link: https://lore.kernel.org/r/179089728102.434549.12368098081790653201@xxxxxxxxxx [1]
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
>
> Just a Link tag (no Fixes et alia) as the escaping seems to be a guard
> that never fired so far.
>
The names are ASCII-only, but it's worth using escapes just in case we
parse CMD-DB incorrectly.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry