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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux