From mboxrd@z Thu Jan 1 00:00:00 1970 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 5250E2877F4 for ; Fri, 10 Apr 2026 18:55:34 +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=1775847336; cv=none; b=AgNyIf7Q0+zdNhhH+yW7U4TgMJG4pHVDvBWG+78qjGy45bf3/wT4dQzuqesTXg7hn7osU+YiYEDvmVOcNc81DNI6Cz0Qy2Zrva7XjdLDU9WXq2qpkVh3yrSXx4/e2ZC8F+0ozrQtTKFLvJOifiELm8kn2ymaJzE6OVgyTb09+4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775847336; c=relaxed/simple; bh=U7JwRZf99Tg1BtcgQMSLdH6zAPDatEaAQiyyxwRjPAg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u7V9JtEZLDN90jwn2bJp+9fPM/g1ODLziST4un8N9NO8mk3vMvo1tUVOay1uh5FSxdiHKHUdECz4XMWMq1TNKPpDG4bsLyrrdDbTunRnHcjZTZRKEHeLNM1jHK1GevkRXQ6gjZC8Y9d7u7DCBANBo4eCzxiFE/q5Q9c5JcPmkfU= 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=ExWYtocH; 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="ExWYtocH" 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=HtBrql/+itI02+v6VGH1ecKhvqkISyuWLUF2p0K3cZs=; b=ExWYtocHjItEfQ7EltUpz3Tr4B Ca8B6GzS/WOLoJL8NknNFJTs5ByGFAJXG8v+ZAA+28Cxcv0G6trqAFybvPkgqg0c3s0YcKNMngCdt sSTiWs9XXkkfpq9cv+i+EjQstrD4LkcomebJtz6mjR27z0R23Nd6eDuyPtkU0w29miJFp4huJjXyz JKvvSVSi3Wz5dMOP8e1LWOMBxoG2x+i5O2UYp2tVO5hiqUH5h9Cd/D03c+02RNEg5Zbw6jGHHbofo UqrfjFTpT1QxOpcW75+VyE1YY9Vn3J6mTUykgtMcDY6cmkQcXvw0I7Vxr2kvI+XozvUN8Xdzkp6Z2 gA/2xu0g==; 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 1wBH0u-00EWTL-5R; Fri, 10 Apr 2026 20:55:32 +0200 From: Tvrtko Ursulin To: criu@lists.linux.dev Cc: Tvrtko Ursulin , David Francis Subject: [PATCH v2 01/23] plugins/amgdpu: Fix one error message Date: Fri, 10 Apr 2026 19:54:52 +0100 Message-ID: <20260410185514.51153-2-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260410185514.51153-1-tvrtko.ursulin@igalia.com> References: <20260410185514.51153-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 Reviewed-By: David Francis --- 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 c1dfb2dd4543..c51e43eaf491 100644 --- a/plugins/amdgpu/amdgpu_plugin_drm.c +++ b/plugins/amdgpu/amdgpu_plugin_drm.c @@ -470,7 +470,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