* [PATCH] pci/pci-driver: Set pci interface in uppercase
@ 2014-09-03 2:46 rh_
0 siblings, 0 replies; only message in thread
From: rh_ @ 2014-09-03 2:46 UTC (permalink / raw)
To: linux-kernel
[-- 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),
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-03 2:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 2:46 [PATCH] pci/pci-driver: Set pci interface in uppercase rh_
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox