Messages in this thread | | | Date | Sat, 8 Sep 2012 11:40:52 -0700 | Subject | Re: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class() | From | Yinghai Lu <> |
| |
On Sat, Sep 8, 2012 at 8:34 AM, Feng Tang <feng.tang@intel.com> wrote: >> This makes lspci work again on my side. The caveat is, kzalloc() will >> zero out all data while the new local variable leaves some data >> uninitialized. > > Yes, thanks for the quick root cause and fix to the bug in my code.
Can you resubmit your patch with two extra "memset" line?
Thanks
Yinghai
| |