diff options
| author | Marek Vasut <[email protected]> | 2023-07-16 17:53:24 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-14 17:55:52 -0400 |
| commit | 8ee830d8983763575aad62c37394ec954a76abc4 (patch) | |
| tree | 860aea4c54fbfa4359dfa6f13c437ad513377c80 /scripts | |
| parent | b99c6357877da2829dc7fd73a50048e83abc53e2 (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 <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
