aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-10-24 16:55:05 +0300
committerLuca Coelho <[email protected]>2021-10-28 12:04:10 +0300
commit3f7320428fa41a4c8be9c6f3d0cc06beeb0b3df8 (patch)
tree4d4f0c2e4e555b57da8a2dc01072c8ed3f122396 /scripts/gdb/linux/lists.py
parent97f8a3d1610b1f50013de1e632b007cbfd7459d8 (diff)
iwlwifi: pcie: simplify iwl_pci_find_dev_info()
We currently match the list of devices from the start to the end, but then find the *last* match, so we need to look at each and every entry. We don't want to change the semantics ("most generic entry must come first"), so just change the order of matching to be back-to-front, then we can break out once we find a match. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20211024165252.abd85e1391cb.I7681fe90735044cc1c59f120e8591b7ac125535d@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions