提交 01b666df 编写于 作者: P Praveen Kalamegham 提交者: Jesse Barnes

PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device

pciehp_unconfigure_device() should return -EINVAL, not EINVAL.
Signed-off-by: NPraveen Kalamegham <praveen@nextio.com>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 41cd766b
...@@ -137,7 +137,7 @@ int pciehp_unconfigure_device(struct slot *p_slot) ...@@ -137,7 +137,7 @@ int pciehp_unconfigure_device(struct slot *p_slot)
"Cannot remove display device %s\n", "Cannot remove display device %s\n",
pci_name(temp)); pci_name(temp));
pci_dev_put(temp); pci_dev_put(temp);
rc = EINVAL; rc = -EINVAL;
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部