Thread (14 messages) 14 messages, 4 authors, 1d ago

Re: [PATCH net-next v2 5/5] eea: Use 2-argument strscpy()

flat view

From: Joe Damato <hidden>
Date: 2026-10-02 20:42:48
Also in: lkml

On Fri, Oct 02, 2026 at 11:59:23AM +0200, Andy Shevchenko wrote:
From: Andy Shevchenko <redacted>

Use 2-argument strscpy(), which is not only shorter but also provides
an additional check that destination buffer is an array.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/net/ethernet/alibaba/eea/eea_adminq.c  | 4 ++--
 drivers/net/ethernet/alibaba/eea/eea_ethtool.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Joe Damato <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help