summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-07-16 17:53:24 +0200
committerTom Rini <[email protected]>2023-08-14 17:55:52 -0400
commit8ee830d8983763575aad62c37394ec954a76abc4 (patch)
tree860aea4c54fbfa4359dfa6f13c437ad513377c80 /include/linux/zstd_errors.h
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 <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions