[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9fb486df-b78b-4155-a398-d57161ebc583@vivo.com>
Date: Sat, 16 Aug 2025 15:35:37 +0800
From: Qianfeng Rong <rongqianfeng@...o.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Simon Horman <horms@...nel.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
"open list:NETRONOME ETHERNET DRIVERS" <oss-drivers@...igine.com>,
"open list:NETWORKING DRIVERS" <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/3] nfp: flower: use vmalloc_array() to simplify code
在 2025/8/16 1:50, Jakub Kicinski 写道:
> On Thu, 14 Aug 2025 18:20:54 +0800 Qianfeng Rong wrote:
>> - 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
Powered by blists - more mailing lists