Thread (16 messages) 16 messages, 4 authors, 2025-08-29

Re: [PATCH net-next 1/2] net: pse-pd: pd692x0: Separate configuration parsing from hardware setup

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-25 22:10:03
Also in: lkml

On Fri, 22 Aug 2025 17:37:01 +0200 Kory Maincent wrote:
 	manager = kcalloc(PD692X0_MAX_MANAGERS, sizeof(*manager), GFP_KERNEL);
 	if (!manager)
 		return -ENOMEM;
 
+	port_matrix = devm_kcalloc(&priv->client->dev, PD692X0_MAX_PIS,
+				   sizeof(*port_matrix), GFP_KERNEL);
+	if (!port_matrix)
+		return -ENOMEM;
Leaking manager..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help