[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120223121012.5933f563@jbarnes-desktop>
Date: Thu, 23 Feb 2012 12:10:12 -0800
From: Jesse Barnes <jbarnes@...tuousgeek.org>
To: Yinghai Lu <yinghai@...nel.org>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PCI: Fix device class print out
On Sun, 19 Feb 2012 14:50:12 -0800
Yinghai Lu <yinghai@...nel.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@...nel.org>
Applied to linux-next, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists