Messages in this thread | | | From | Lorenzo Pieralisi <> | Subject | Re: [PATCH] PCI: qcom-ep: Constify static dw_pcie_ep_ops | Date | Tue, 4 Jan 2022 15:30:25 +0000 |
| |
On Sat, 4 Dec 2021 23:03:16 +0100, Rikard Falkeborn wrote: > The only usage of pci_ep_ops is to assign its address to the ops field > in the dw_pcie_ep struct which is a pointer to const struct dw_pcie_ep_ops. > Make it const to allow the compiler to put it in read-only memory. > >
Applied to pci/qcom, thanks!
[1/1] PCI: qcom-ep: Constify static dw_pcie_ep_ops https://git.kernel.org/lpieralisi/pci/c/840a720aaa
Thanks, Lorenzo
| |