aboutsummaryrefslogtreecommitdiff
path: root/test/py/tests/test_semihosting/test_hostfs.py
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-07-16 17:53:24 +0200
committerTom Rini <trini@konsulko.com>2023-08-14 17:55:52 -0400
commit8ee830d8983763575aad62c37394ec954a76abc4 (patch)
tree860aea4c54fbfa4359dfa6f13c437ad513377c80 /test/py/tests/test_semihosting/test_hostfs.py
parentb99c6357877da2829dc7fd73a50048e83abc53e2 (diff)
pci: Fix device_find_first_child() return value handling
This function only ever returns 0, but may not assign the second parameter. Same thing for device_find_next_child(). Do not assign ret to stop proliferation of this misuse. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests/test_semihosting/test_hostfs.py')
0 files changed, 0 insertions, 0 deletions