Re: [PATCH v3 1/3] PCI: Track the size of each saved capability data area

2011-05-09 Thread Jesse Barnes
On Wed, 20 Apr 2011 14:31:33 -0600 Alex Williamson wrote: > -struct pci_cap_saved_state { > - struct hlist_node next; > +struct pci_cap_saved { > char cap_nr; > + unsigned int size; > u32 data[0]; > }; > > +struct pci_cap_saved_state { > + struct hlist_node next; > +

[PATCH v3 1/3] PCI: Track the size of each saved capability data area

2011-04-20 Thread Alex Williamson
This will allow us to store and load it later. Signed-off-by: Alex Williamson --- drivers/pci/pci.c | 12 +++- include/linux/pci.h | 11 --- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 2472e71..d2500a0 100644