Thread (9 messages) 9 messages, 2 authors, 23d ago

Re: [PATCH net-next v2 3/4] net: dsa: motorcomm: Dynamically allocate port structures

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-06-30 22:13:02
Also in: lkml

On Tue, Jun 30, 2026 at 02:31:34AM +0800, David Yang wrote:
With support for LED introduced later, struct yt921x_priv will be 17k
which is not very good for a single kmalloc(). Convert the ports array
to a array of pointers to stop bloating the priv struct.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help