Re: [PATCH] PCI: dwc: Constify dw_pcie_host_ops structures

2017-06-12 Thread Bjorn Helgaas
On Mon, Jun 05, 2017 at 04:53:46PM +0800, Jisheng Zhang wrote: > The dw_pcie_host_ops structures are never modified. Constify these > structures such that these can be write-protected. > > Signed-off-by: Jisheng Zhang Applied with Jingoo's ack to pci/host-designware for v4.13, thanks! > --- >

Re: [PATCH] PCI: dwc: Constify dw_pcie_host_ops structures

2017-06-07 Thread Kishon Vijay Abraham I
On Monday 05 June 2017 02:23 PM, Jisheng Zhang wrote: > The dw_pcie_host_ops structures are never modified. Constify these > structures such that these can be write-protected. > > Signed-off-by: Jisheng Zhang Acked-by: Kishon Vijay Abraham I > --- > drivers/pci/dwc/pci-dra7xx.c | 2

Re: [PATCH] PCI: dwc: Constify dw_pcie_host_ops structures

2017-06-05 Thread Jingoo Han
On Monday, June 5, 2017 4:54 AM, Jisheng Zhang wrote: > > The dw_pcie_host_ops structures are never modified. Constify these > structures such that these can be write-protected. > > Signed-off-by: Jisheng Zhang Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/pci/dwc/pci-dra7xx

[PATCH] PCI: dwc: Constify dw_pcie_host_ops structures

2017-06-05 Thread Jisheng Zhang
The dw_pcie_host_ops structures are never modified. Constify these structures such that these can be write-protected. Signed-off-by: Jisheng Zhang --- drivers/pci/dwc/pci-dra7xx.c | 2 +- drivers/pci/dwc/pci-exynos.c | 2 +- drivers/pci/dwc/pci-imx6.c | 2 +- driv