Thread (3 messages) 3 messages, 3 authors, 27d ago

Re: [PATCH net] octeontx2-af: fix CGX debugfs RVU AF PCI reference leaks

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-06-21 21:44:06
Also in: lkml

On Wed, 17 Jun 2026 16:15:25 +0530 Ratheesh Kannoth wrote:
+		{
+			struct rvu_cgx_lmac_dbgfs_ctx *ctx;
+
+			ctx = devm_kzalloc(rvu->dev, sizeof(*ctx), GFP_KERNEL);
+			if (!ctx)
+				continue;
In addition to Simon's nit - please don't create floating code blocks,
just add the var decl at the start of the function.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help