Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10CED330B3A for ; Fri, 20 Feb 2026 12:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; cv=none; b=c1Y8TaTd+pI1VT1FzvPY7/nxwQYev/u6tHcCy1X3hJHACj6AjrbxgZ8Esf13PHe/KrEtcNsB5D1efj8eveI1TMgoPRQBabGgCfZ9dufINnLt5xwj0lQ6Xb4Er/rEpPxfMz7NXRQ+hCZRUWM5+uenwP3jkCQJTD9ecOhm91XTrEg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; c=relaxed/simple; bh=DBY1dsArQrO1E0IflCeJ9hnCCdigj6Ld2ScaXnoGkS0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tw24FF8YfMgKTMR5Et75g+IokhkphrwnOLnv2OUYOq5hzn2/BysbSSri96ougLr8B72aO6h0veVWRlqk6SBdvTA7Jg1Qaui7JO88F4zF7tHosbmcbLnhlxI4toX3OMyek4VQPu8kLaAa1ZFPXh8xv6cc2Gvt1/7E0sSX7PreR70= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=OgMPY+Ss; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="OgMPY+Ss" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=h6sHtG+5J+xmwHemXqp+lsrHOVQBt1o2j3Pq6Rwn7Vk=; b=OgMPY+Ss95vVOjQ1l5CwvIHopJ 37OQ/hQzyaDwny5fhJ2rzkxKROWlsmGA4To9o+ol7IJTjpMtG4wZLuVJAlAvyht+jpOCGrngkHxB9 dXVvDvZkIfh5IMA69WXg8I5Ui/yb85JnrPA6f7F3qAV/UuPF7ui4lGC1uKTY60owD9EmTylP9WL6O uvYO2xMNtB+ciCnJkxMv4OcICFJS4nG3bSihMvIUuIhFoZbYIcxQAMkmnrt3CUxG7QpXcr/GdpT1k GW3/qokcA4vT4+9S0DfDB2DvAarAQLQ8RebeyIypt4f3Z/ICOZq1W8In/diUsETZmH+83OnWUaANr +/WmNp2A==; Received: from [90.240.106.137] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1vtPG9-002uyO-Sf; Fri, 20 Feb 2026 13:05:25 +0100 From: Tvrtko Ursulin To: criu@lists.linux.dev Cc: David Francis , Tvrtko Ursulin Subject: [RFC 01/26] plugins/amgdpu: Fix one error message Date: Fri, 20 Feb 2026 12:04:49 +0000 Message-ID: <20260220120514.4540-2-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> References: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> Precedence: bulk X-Mailing-List: criu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Instead of logging a zero failure code lets log the actual GPU id which was not found. Signed-off-by: Tvrtko Ursulin --- plugins/amdgpu/amdgpu_plugin_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/amdgpu/amdgpu_plugin_drm.c b/plugins/amdgpu/amdgpu_plugin_drm.c index 3520bca7a317..e2fe4bd8a823 100644 --- a/plugins/amdgpu/amdgpu_plugin_drm.c +++ b/plugins/amdgpu/amdgpu_plugin_drm.c @@ -416,7 +416,7 @@ int amdgpu_plugin_drm_dump_file(int fd, int id, struct stat *drm) /* Get the GPU_ID of the DRM device */ rd->gpu_id = maps_get_dest_gpu(&checkpoint_maps, tp_node->gpu_id); if (!rd->gpu_id) { - pr_err("Failed to find valid gpu_id for the device = %d\n", rd->gpu_id); + pr_err("Failed to find valid gpu_id for the device = %d\n", tp_node->gpu_id); return -ENODEV; } -- 2.52.0