Thread (14 messages) 14 messages, 4 authors, 2024-11-19

Re: [PATCH net] can: can327: fix snprintf() limit in can327_handle_prompt()

From: Max Staudt <max@enpas.org>
Date: 2024-11-14 10:11:33
Also in: kernel-janitors, linux-can, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help