summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-05-02 17:26:33 +0300
committerLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-05-04 16:39:56 +0300
commit38e3d67d0bf36165126518894f9a5e7d3a3691de (patch)
tree66fdd93beb0e3c27205c43814e9018c1d775b940 /src
parent452bd8d820151f294f3f735c2b6728351b3af265 (diff)
downloadbmcweb-38e3d67d0bf36165126518894f9a5e7d3a3691de.tar.xz
Update depth parameter in getPCIeDeviceList
The current call to getSubTreePaths is using a depth of 1, which limits the search to only the direct children of the inventoryPath. However, the interface may be found at any depth in the subtree, so the depth parameter should be set to 0 to search the entire subtree, in order to ensure that all relevant objects are included in the search results. getValidPCIeDevicePath and getPCIeDeviceList should call getSubTreePaths with the same depth parameter value to ensure that the same level of the PCIe device tree is being searched for devices. Tested: Validator passed Change-Id: Ic990581ef186f4bf1511a221c4e305ff6c2afdf2 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions