Thread (4 messages) 4 messages, 2 authors, 2026-06-09

Re: [PATCH net-next] drivers/net/ethernet/qualcomm/emac: Use strscpy() to copy the ethtool strings

flat view

From: Timur Tabi <timur@kernel.org>
Date: 2026-06-09 15:10:32
Also in: linux-hardening, lkml

On Tue, Jun 9, 2026 at 10:08 AM Timur Tabi [off-list ref] wrote:
It would be better to replace this with a call to ethtool_sprintf(),
which already takes ETH_GSTRING_LEN into account.  And may as well
update the ETH_SS_STATS case underneath it.
Actually, on second thought, I take that back.  There are no format
strings, so no need for sprintf.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help