Re: [PATCH net] can: can327: fix snprintf() limit in can327_handle_prompt()
From: Max Staudt
Date: Thu Nov 14 2024 - 05:22:17 EST
On 11/14/24 18:29, Dan Carpenter wrote:
To be honest, I was afraid that someone was going to suggest using on of the
helper functions that dumps hex. (I don't remember then names of them so that's
why I didn't do that).
If you can think of a neat, clearer replacement for sprintf() in this
case, that'd be nice. I guess I didn't find one at the time when I wrote
the driver (or I didn't look hard enough).
Suggestions welcome!
Max