[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240306100333.502fa911@kernel.org>
Date: Wed, 6 Mar 2024 10:03:33 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Jacob
Keller <jacob.e.keller@...el.com>, Jiri Pirko <jiri@...nulli.us>, Stanislav
Fomichev <sdf@...gle.com>, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v2 3/5] tools/net/ynl: Fix c codegen for
array-nest
On Wed, 6 Mar 2024 12:57:02 +0000 Donald Hunter wrote:
> ynl-gen-c generates e.g. 'calloc(mcast_groups, sizeof(*dst->mcast_groups))'
> for array-nest attrs when it should be 'n_mcast_groups'.
>
> Add a 'n_' prefix in the generated code for array-nests.
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists