]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/amigaone: Check blk_pwrite return value
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 20 Mar 2025 04:40:23 +0000 (14:40 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Fri, 21 Mar 2025 03:54:32 +0000 (13:54 +1000)
commit0cb6498b4ce8d0e800e85a43429919c208537405
tree1c0f5a748a403cc53f73bc2395b432b88949195b
parentd8b1c3eaed5cf11d2db702a415df082dc1754b2c
ppc/amigaone: Check blk_pwrite return value

Coverity reported that return value of blk_pwrite() maybe should not
be ignored. We can't do much if this happens other than report an
error but let's do that to silence this report.

Resolves: Coverity CID 1593725
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20250314200140.2DBE74E6069@zero.eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/amigaone.c