diff options
| author | Lars-Peter Clausen <[email protected]> | 2023-07-22 23:08:46 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2023-12-18 22:38:11 +0000 |
| commit | 54f22c9758dcde2dfde4bf91c8fd0bdc952f1e14 (patch) | |
| tree | 3f237503252f2479b703835f4599bad778ac95f7 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | PCI: endpoint: pci-epf-mhi: Make structs pci_epf_ops and pci_epf_event_ops const (diff) | |
| download | kernel-54f22c9758dcde2dfde4bf91c8fd0bdc952f1e14.tar.gz kernel-54f22c9758dcde2dfde4bf91c8fd0bdc952f1e14.zip | |
PCI: endpoint: pci-epf-ntb: Make struct pci_epf_ops const
The pci_epf_ops struct for the PCI endpoint NTB driver is never modified.
Mark it as const so it 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
