From: Yinghai Lu Date: Sun, 19 Feb 2012 22:50:12 +0000 (-0800) Subject: PCI: Fix device class print out X-Git-Tag: v3.4-rc1~114^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd8ba921d570fcd016f8038c63fa9668892d16b;p=pandora-kernel.git PCI: Fix device class print out Found debug print of 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed