public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: rh_ <richard_hubbe11@lavabit.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] pci/pci-driver: Set pci interface in uppercase
Date: Tue, 2 Sep 2014 19:46:31 -0700	[thread overview]
Message-ID: <20140902194631.60b1a4db@127> (raw)

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

It seems to me this needs to go along with previous patch from

http://marc.info/?l=linux-kernel&m=140914429629912&w=2

Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Subject: [PATCH] pci/pci-sysfs: Set pci interface in uppercase
Date: Wed, 27 Aug 2014 14:57:57 +0200


Signed-off-by: Richard Hubbell <richard_hubbe11@lavabit.com>



[-- Attachment #2: pci-drive.c.patch --]
[-- Type: text/x-patch, Size: 644 bytes --]

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index d04c5ad..1fce3b7 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -1392,7 +1392,7 @@ static int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
 	if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev)))
 		return -ENOMEM;
 
-	if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
+	if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X",
 			   pdev->vendor, pdev->device,
 			   pdev->subsystem_vendor, pdev->subsystem_device,
 			   (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),

                 reply	other threads:[~2014-09-03  2:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20140902194631.60b1a4db@127 \
    --to=richard_hubbe11@lavabit.com \
    --cc=linux-kernel@vger.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