diff options
author | Herve Codina <herve.codina@bootlin.com> | 2025-02-24 15:13:54 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-02-28 15:13:07 -0600 |
commit | 3dc8adeeefa0256917d1e3978c8b4a06346816ed (patch) | |
tree | 791f9228b9926ec3cfa84464968385ba50058323 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c5785a165f847c457bd398f496f7c108527b22bd (diff) |
PCI: of_property: Constify parameter in of_pci_get_addr_flags()
The res parameter has no reason to be a pointer to an un-const struct
resource. Indeed, struct resource is not supposed to be modified by the
function.
Constify the res parameter.
Link: https://lore.kernel.org/r/20250224141356.36325-5-herve.codina@bootlin.com
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions