Commit 01b666df authored by Praveen Kalamegham's avatar Praveen Kalamegham Committed by Jesse Barnes

PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device

pciehp_unconfigure_device() should return -EINVAL, not EINVAL.
Signed-off-by: default avatarPraveen Kalamegham <praveen@nextio.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 41cd766b
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment