aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorAlan Mikhak <[email protected]>2019-05-23 14:55:40 -0700
committerLorenzo Pieralisi <[email protected]>2019-06-11 10:55:36 +0100
commit3041a643613a2530ade35a9ae97709a9da4c0c72 (patch)
tree88456033c500f82bf26e4af96e9ea065901b9ab9 /scripts/gen_compile_commands.py
parentf16fb16ed16c7f561e9c41c9ae4107c7f6aa553c (diff)
PCI: endpoint: Skip odd BAR when skipping 64bit BAR
Always skip odd BAR when skipping 64bit BARs in pci_epf_test_set_bar() and pci_epf_test_alloc_space() otherwise pci_epf_test_set_bar() will call pci_epc_set_bar() on an odd loop index when skipping reserved 64bit BAR. Moreover, pci_epf_test_alloc_space() will call pci_epf_alloc_space() on bind for an odd loop index when BAR is 64bit but leaks on subsequent unbind by not calling pci_epf_free_space(). Signed-off-by: Alan Mikhak <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Kishon Vijay Abraham I <[email protected]> Reviewed-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions