summaryrefslogtreecommitdiff
path: root/board/integratorap/flash.c
diff options
context:
space:
mode:
authorChristian Pötzsch <[email protected]>2026-05-12 10:39:49 +0200
committerTom Rini <[email protected]>2026-05-12 12:38:49 -0600
commit36d4c653580824b16574560b21d4401614d8b68e (patch)
tree80532f62e58fa179573ffb78f71623fbf8893dd0 /board/integratorap/flash.c
parenta1a47eee6763e61e184d4d0cda0a3cf0922a800d (diff)
virtio: fix return value checkHEADmaster
The virtio_blk_do_single_req function returns ulong, which normally is the processed size, but in an error case can be the actual error. Use the special IS_ERR_VALUE macro to test for error. Addresses-Coverity-ID: CID 645833 (DEADCODE) & CID 645834 (NO_EFFECT) Signed-off-by: Christian Pötzsch <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/integratorap/flash.c')
0 files changed, 0 insertions, 0 deletions