diff options
author | 2025-03-07 16:09:22 +0200 | |
---|---|---|
committer | 2025-03-07 11:26:19 -0600 | |
commit | e4cb29386ffc1d12885e412232adf361c77a93ac (patch) | |
tree | 30ffe3ff871b39f20348478cd027d322905169cf /scripts/rust_is_available_test.py | |
parent | PCI: Increase Resizable BAR support from 512 GB to 128 TB (diff) | |
download | wireguard-linux-e4cb29386ffc1d12885e412232adf361c77a93ac.tar.xz wireguard-linux-e4cb29386ffc1d12885e412232adf361c77a93ac.zip |
PCI: Do not claim to release resource falsely
pci_release_resource() will print "... releasing" regardless of the
resource being assigned or not. Move the print after the res->parent check
to avoid claiming the kernel would be releasing an unassigned resource.
Likely, none of the current callers pass a resource that is unassigned so
this change is mostly to correct the non-sensical order than to remove
errorneous printouts.
Link: https://lore.kernel.org/r/20250307140922.5776-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions