lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 3 Jul 2017 13:55:00 +0800 From: Ryder Lee <ryder.lee@...iatek.com> To: Bjorn Helgaas <bhelgaas@...gle.com> CC: <linux-pci@...r.kernel.org>, <linux-mediatek@...ts.infradead.org>, <linux-kernel@...r.kernel.org>, Ryder Lee <ryder.lee@...iatek.com> Subject: [PATCH] PCI: mediatek: Remove unnecessary PCI_REASSIGN_* flags The PCI_REASSIGN_ALL_RSRC and PCI_REASSIGN_ALL_BUS flags are not needed, since we should automatically assign resources if the firmware hasn't done it. Signed-off-by: Ryder Lee <ryder.lee@...iatek.com> --- drivers/pci/host/pcie-mediatek.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pcie-mediatek.c b/drivers/pci/host/pcie-mediatek.c index 51c6118..5a9d858 100644 --- a/drivers/pci/host/pcie-mediatek.c +++ b/drivers/pci/host/pcie-mediatek.c @@ -478,7 +478,6 @@ static int mtk_pcie_register_host(struct pci_host_bridge *host) struct pci_bus *child; int err; - pci_add_flags(PCI_REASSIGN_ALL_RSRC | PCI_REASSIGN_ALL_BUS); host->busnr = pcie->busn.start; host->dev.parent = pcie->dev; host->ops = &mtk_pcie_ops; -- 1.9.1
Powered by blists - more mailing lists