public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Yinghai Lu <yinghai@kernel.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI: Fix device class print out
Date: Thu, 23 Feb 2012 12:10:12 -0800	[thread overview]
Message-ID: <20120223121012.5933f563@jbarnes-desktop> (raw)
In-Reply-To: <1329691812-23665-1-git-send-email-yinghai@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2012-02-23 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 22:50 [PATCH] PCI: Fix device class print out Yinghai Lu
2012-02-23 20:10 ` Jesse Barnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120223121012.5933f563@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox