criu/plugins
Tvrtko Ursulin 5659b3954b plugins/amdgpu: Correct offset type and add error handling for seek operations
Both CRIU and plugin are built with 64-bit off_t and most of the parallel
bo restore path uses uint64_t for storing offsets.

Lets consolidate by changing int to off_t, and by doing so remove any
possibility that the call to fseeko can overflow the return type.

While at it, add error checking to both seek operations.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-By: David Francis <David.Francis@amd.com> # v1
---
v2:
 - Correct offset type as well.
2026-04-20 11:03:04 -07:00
..
amdgpu plugins/amdgpu: Correct offset type and add error handling for seek operations 2026-04-20 11:03:04 -07:00
cuda amdgpu: use fseeko with large-file support instead of fseeko64 2026-01-08 07:48:23 -08:00