[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250825151001.38af758c@kernel.org>
Date: Mon, 25 Aug 2025 15:10:01 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Kory Maincent <kory.maincent@...tlin.com>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
kernel@...gutronix.de, Dent Project <dentproject@...uxfoundation.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Maxime Chevallier
<maxime.chevallier@...tlin.com>
Subject: Re: [PATCH net-next 1/2] net: pse-pd: pd692x0: Separate
configuration parsing from hardware setup
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..
Powered by blists - more mailing lists