projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cd766
)
PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device
author
Praveen Kalamegham
<praveen@nextio.com>
Thu, 20 May 2010 20:32:22 +0000
(15:32 -0500)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:29:15 +0000
(09:29 -0700)
pciehp_unconfigure_device() should return -EINVAL, not EINVAL.
Signed-off-by: Praveen Kalamegham <praveen@nextio.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_pci.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp_pci.c
b/drivers/pci/hotplug/pciehp_pci.c
index 2fce726758d2f1bc0c5d24dff8ca3690707c4a56..a4031dfe938ecd037227896fac3fabe5ca24e56b 100644
(file)
--- a/
drivers/pci/hotplug/pciehp_pci.c
+++ b/
drivers/pci/hotplug/pciehp_pci.c
@@
-137,7
+137,7
@@
int pciehp_unconfigure_device(struct slot *p_slot)
"Cannot remove display device %s\n",
pci_name(temp));
pci_dev_put(temp);
- rc = EINVAL;
+ rc =
-
EINVAL;
break;
}
}