Re: [PATCH] net: dsa: hellcreek: replace kcalloc with struct_size
From: Kurt Kanzenbach <kurt@linutronix.de>
Date: 2026-06-15 08:41:03
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 861 bytes
From: Kurt Kanzenbach <kurt@linutronix.de>
Date: 2026-06-15 08:41:03
Also in:
lkml
On Tue Jun 09 2026, Kurt Kanzenbach wrote:
On Sun Jun 07 2026, Rosen Penev wrote:quoted
One fewer allocation for the priv struct. Signed-off-by: Rosen Penev <redacted>Acked-by: Kurt Kanzenbach <kurt@linutronix.de> It looks correct, but i'm currently out of office. I'll test it next week on hardware.
Tested on hardware. No issues found. Thanks!