Subject: Re: [PATCH v4 net-next 2/5] devlink: Implement devlink param multi attribute nested data values

From: Jakub Kicinski <[email-masked]>
Date: Mon, 16 Mar 2026 20:36:12 -0700

On Thu, 12 Mar 2026 07:57:51 +0530 Ratheesh Kannoth wrote:
> -	union devlink_param_value default_value[DEVLINK_PARAM_CMODE_MAX + 1];
> -	union devlink_param_value param_value[DEVLINK_PARAM_CMODE_MAX + 1];
> +	union devlink_param_value (*default_value)[DEVLINK_PARAM_CMODE_MAX + 1];
> +	union devlink_param_value (*param_value)[DEVLINK_PARAM_CMODE_MAX + 1];

let's declare this as a pointer rather than pointer to an array,
the (*arr)[i] indexing changes won't be necessary.