Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-11-20 Thread Lorenzo Pieralisi
On Sat, Oct 27, 2018 at 08:31:19PM +0200, Julia Lawall wrote: > The dw_pcie_host_ops structure is only stored in the ops field > of a pcie_port structure, and this field is const, so make the > dw_pcie_host_ops structure const as well. > > Done with the help of Coccinelle. > > Signed-off-by:

Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-11-20 Thread Lorenzo Pieralisi
On Sat, Oct 27, 2018 at 08:31:19PM +0200, Julia Lawall wrote: > The dw_pcie_host_ops structure is only stored in the ops field > of a pcie_port structure, and this field is const, so make the > dw_pcie_host_ops structure const as well. > > Done with the help of Coccinelle. > > Signed-off-by:

Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-10-28 Thread Shawn Guo
On Sun, Oct 28, 2018 at 3:06 AM Julia Lawall wrote: > > The dw_pcie_host_ops structure is only stored in the ops field > of a pcie_port structure, and this field is const, so make the > dw_pcie_host_ops structure const as well. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall

Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-10-28 Thread Shawn Guo
On Sun, Oct 28, 2018 at 3:06 AM Julia Lawall wrote: > > The dw_pcie_host_ops structure is only stored in the ops field > of a pcie_port structure, and this field is const, so make the > dw_pcie_host_ops structure const as well. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall

[PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-10-27 Thread Julia Lawall
The dw_pcie_host_ops structure is only stored in the ops field of a pcie_port structure, and this field is const, so make the dw_pcie_host_ops structure const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/pci/controller/dwc/pcie-histb.c |2 +- 1 file

[PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-10-27 Thread Julia Lawall
The dw_pcie_host_ops structure is only stored in the ops field of a pcie_port structure, and this field is const, so make the dw_pcie_host_ops structure const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/pci/controller/dwc/pcie-histb.c |2 +- 1 file