lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI: Fix device class print out
On Sun, 19 Feb 2012 14:50:12 -0800
Yinghai Lu <yinghai@kernel.org> 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@kernel.org>

Applied to linux-next, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-02-23 21:13    [W:0.030 / U:2.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site