Re: [PATCH net-next v1 1/1] eea: Drop temporary buffer by using %pEp directly

From: Andy Shevchenko

Date: Fri Oct 02 2026 - 02:04:17 EST


On Thu, Oct 01, 2026 at 11:28:01PM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 1 (1) · Low: 0
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).

...

> [Severity: Medium]
> Will this print only the first byte of rep->reply_str?
>
> %pE does not look for a NUL terminator. It takes the buffer length from
> the field width, and when no width is given it uses 1 byte:

Yes, completely forgot how it works.

pw-bot: cr

--
With Best Regards,
Andy Shevchenko