On Sun, 19 Feb 2012 14:50:12 -0800 Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > Found debug print out about class is shifted. > > | pci 0000:f8:15.2: [8086:2b56] type 0 class 0x000600 > > code is trying to print class with 6 digits, but use shifted class with 4 digits > valid value as variable. > > Change to original dev->class directly. > > also remove not needed calculating of local variable class, because it will be > updated after pci_fixup_device(pci_fixup_early...) > > Also unify type print out when class and header is not matched. > > Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx> Applied to linux-next, thanks. -- Jesse Barnes, Intel Open Source Technology Center
Attachment:
signature.asc
Description: PGP signature