Re: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

From: Yinghai Lu
Date: Sat Sep 08 2012 - 14:41:07 EST

On Sat, Sep 8, 2012 at 8:34 AM, Feng Tang <feng.tang@xxxxxxxxx> 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?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at