[Intel-wired-lan] [PATCH] igb: index regs_buff array via index variable

David Miller davem at davemloft.net
Thu Dec 12 18:49:56 UTC 2019


From: Vasyl Gomonovych <gomonovych at gmail.com>
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 at gmail.com>

Anything you put after "---" will be removed by git if someone actually
applies this patch, which means your signoff will disappear.


More information about the Intel-wired-lan mailing list