diff options
| author | Lars-Peter Clausen <[email protected]> | 2023-07-22 23:08:45 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2023-12-18 22:38:04 +0000 |
| commit | 150d04ddf3861c079fa1e9d96d3b52c399944f85 (patch) | |
| tree | 17381b4eda6baba4e8a9c82cb77dd5b9775f3954 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | PCI: endpoint: Make struct pci_epf_ops in pci_epf_driver const (diff) | |
| download | kernel-150d04ddf3861c079fa1e9d96d3b52c399944f85.tar.gz kernel-150d04ddf3861c079fa1e9d96d3b52c399944f85.zip | |
PCI: endpoint: pci-epf-mhi: Make structs pci_epf_ops and pci_epf_event_ops const
Both the pci_epf_ops and pci_epf_evnt_ops structs for the PCI endpoint
MHI driver are never modified.
Mark them as const so they can be placed in the read-only section.
[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions
