Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D163EC5AD49 for ; Mon, 26 May 2025 08:06:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6762610E297; Mon, 26 May 2025 08:06:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="MakmIwhw"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 24C6810E292 for ; Mon, 26 May 2025 08:06:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1748246806; x=1779782806; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QgJjeAj6OEMWs03FIM5ABM4RmamaC9Clg1UdMZKsALo=; b=MakmIwhwJfNF6Qv8Xfi9NdQvA2btdf2DKEbrPl3jYhQqNuyCGcW5eQrs kcumXaxKQyJyVA11J7WTtIdO3CNTQVT+8ITGNdfHCWXpvIuon4TUJj3xw 3OSiy4LRSU5WL0/JVehrZgbcVf1iIBdL0/lLerWwtRSv5fBbEkQyDxrZ5 3eSMuXQHuz9/NS5ilkZHFKhZox2PzwBZj5wN/XjgLc2JylbJh4ZnyEhM/ 1VI5nipcFyTKzq6ygkSsSzPo7aESxNxOC+zkRky6j8DcVADXomzmhaJ8t 0aT2Cah6BBr5D2jSC9a0XIWL2pnIM5TM3rJ1PsNHMq/3hJJ6nZdhUybq+ Q==; X-CSE-ConnectionGUID: FAOWbdD4RX+djpc3DkcO1A== X-CSE-MsgGUID: 1oDq/zTURIaylIQaK47tJQ== X-IronPort-AV: E=McAfee;i="6700,10204,11444"; a="67762827" X-IronPort-AV: E=Sophos;i="6.15,315,1739865600"; d="scan'208";a="67762827" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2025 01:06:46 -0700 X-CSE-ConnectionGUID: 7XKoCHyqQYCsJlw2ICLAuQ== X-CSE-MsgGUID: L/Vfd1zFT8OeEYjQhbMeNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,315,1739865600"; d="scan'208";a="142208341" Received: from artdev273.igk.intel.com ([172.28.176.71]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2025 01:06:44 -0700 From: Jan Sokolowski To: igt-dev@lists.freedesktop.org Cc: Jan Sokolowski , Katarzyna Piecielska , Kamil Konieczny Subject: [PATCH i-g-t v3 0/8] Print/scan formatting fixups Date: Mon, 26 May 2025 08:07:32 +0000 Message-Id: <20250526080740.67790-1-jan.sokolowski@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" It was found that when compiling for other architectures, due to difference in how these architectures recognize how integers should be printed, warnings were thrown in print/scan functions. Fix them up using universal formatters like for example PRIu64. Signed-off-by: Jan Sokolowski Cc: Katarzyna Piecielska Cc: Kamil Konieczny --- v2: various fixes for missing formatters, commit messages, and warnings for additional configurations. Added cc's. Split patches into more smaller patches. v3: Added rb's from v2. Fixed what had been found in v2 review. Rebased to current HEAD, which added more things to correct in xe_pmu.c --- Jan Sokolowski (8): lib/amdgpu: fixup print/scan formatting for files in lib tests/amdgpu: fixup print/scan formatting for files in tests lib/igt_nouveau: fixup print/scan formatting for files in lib lib/igt_perf: fixup print/scan formatting for files in lib lib/xe/xe_sriov*: fixup print/scan formatting for files in lib tests/intel/xe_sriov*: fixup print/scan formatting for files in tests runner: fixup print/scan formatting for files in runner tests/intel: fixup print/scan formatting for files in intel tests lib/amdgpu/amd_deadlock_helpers.c | 19 ++++++++++--------- lib/igt_nouveau.c | 2 +- lib/igt_perf.c | 3 ++- lib/xe/xe_sriov_debugfs.c | 18 +++++++++--------- lib/xe/xe_sriov_provisioning.c | 2 +- runner/executor.c | 2 +- runner/settings.c | 2 +- tests/amdgpu/amd_freesync_video_mode.c | 4 ++-- tests/amdgpu/amd_info.c | 2 +- tests/amdgpu/amd_ras.c | 2 +- tests/intel/xe_compute_preempt.c | 5 +++-- tests/intel/xe_eu_stall.c | 4 ++-- tests/intel/xe_eudebug.c | 4 ++-- tests/intel/xe_exec_capture.c | 9 +++++---- tests/intel/xe_exec_system_allocator.c | 8 ++++---- tests/intel/xe_oa.c | 6 +++--- tests/intel/xe_pmu.c | 12 ++++++------ tests/intel/xe_render_copy.c | 2 +- tests/intel/xe_sriov_auto_provisioning.c | 6 +++--- tests/intel/xe_sriov_flr.c | 12 ++++++------ tests/intel/xe_sriov_scheduling.c | 4 ++-- 21 files changed, 66 insertions(+), 62 deletions(-) -- 2.34.1