Thread (7 messages) 7 messages, 3 authors, 2025-08-16

Re: [PATCH v2 2/3] nfp: flower: use vmalloc_array() to simplify code

From: Qianfeng Rong <hidden>
Date: 2025-08-16 07:35:42
Also in: lkml

在 2025/8/16 1:50, Jakub Kicinski 写道:
On Thu, 14 Aug 2025 18:20:54 +0800 Qianfeng Rong wrote:
quoted
-		vmalloc(array_size(NFP_FL_STATS_ELEM_RS,
-				   priv->stats_ring_size));
+		vmalloc_array(NFP_FL_STATS_ELEM_RS,
+			      priv->stats_ring_size);
This generates a bunch of warnings on gcc when building with W=1
Thank you for pointing this out. I will research the issue and fix the
warning immediately.

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