summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-04-29 15:26:10 +0300
committerBjorn Helgaas <bhelgaas@google.com>2026-06-23 12:08:51 -0500
commit854f9522a20b6b61a0d6fc9db53e8a1437f65f08 (patch)
treead9a6d56c08ef931062f1a9b166820992a2cfe54 /include/linux
parent2c90aeab5a5598f8bb17214579a889f1eed71bdc (diff)
PCI: Remove const removal cast
__pci_bridge_assign_resources() inputs const pci_dev *bridge, but then immediately casts const away to pass the bridge to pdev_assign_resources_sorted(). As pdev_assign_resources_sorted() performs assignment of resources, it is not possible to make its input parameter to const. Neither of the __pci_bridge_assign_resources() callers requires the bridge parameter to be const. Thus, simply remove the out of place cast and convert the input parameter to non-const. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260429122617.7324-5-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions