Re: [PATCH] soc: qcom: cmd-db: Drop NUL bytes from debugfs output
From: Bjorn Andersson
Date: Mon Jul 10 2023 - 01:08:25 EST
On Tue, 20 Jun 2023 14:37:03 -0700, Bjorn Andersson wrote:
> The debugfs dump of Command DB relies uses %*pEp to print the resource
> identifiers, with escaping of non-printable characters.
> But p (ESCAPE_NP) does not escape NUL characters, so for identifiers
> less than 8 bytes in length the output will retain these.
>
> This does not cause an issue while looking at the dump in the terminal
> (no known complaints at least), but when programmatically consuming the
> debugfs output the extra characters are unwanted.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: cmd-db: Drop NUL bytes from debugfs output
commit: d4600cbd5bcbaa2b296b5cf9a5c04408eedb4ef3
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>