Re: [PATCH] igb: index regs_buff array via index variable
From: David Miller
Date: Thu Dec 12 2019 - 13:50:03 EST
From: Vasyl Gomonovych <gomonovych@xxxxxxxxx>
Date: Thu, 12 Dec 2019 11:58:47 +0100
> This patch is just a preparation for additional register dump in regs_buff.
> To make new register insertion in the middle of regs_buff array easier
> change array indexing to use local counter reg_ix.
>
> ---
>
> Basically this path is just a subject to ask
> How to add a new register to dump from dataseet
> Because it is logically better to add an additional register
> in the middle of an array but that will break ABI.
> To not have the ABI problem we should just add it at the
> end of the array and increase the array size.
>
> ---
>
> Signed-off-by: Vasyl Gomonovych <gomonovych@xxxxxxxxx>
Anything you put after "---" will be removed by git if someone actually
applies this patch, which means your signoff will disappear.