Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp233851rdb; Thu, 22 Feb 2024 01:52:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWlUCmgNA1bmZ2im4ex4QxIHRYQmfPJUn/kkTX9HwxwxSA+bZQMplKl3vb2hNCvc1BCYpxZLlwpk9jVQ/YjpPCZd50E/5bsa0aMlK5Yog== X-Google-Smtp-Source: AGHT+IE8OBVhbn6ouIRUxUbicehw58prLvTAteRIBSln3dzjAzUyNAtuYL42IsHDEpz85ePVd8ae X-Received: by 2002:a0c:cd12:0:b0:68f:2eab:ad86 with SMTP id b18-20020a0ccd12000000b0068f2eabad86mr2955644qvm.5.1708595577771; Thu, 22 Feb 2024 01:52:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708595577; cv=pass; d=google.com; s=arc-20160816; b=n3lpj2W/u2BkM4hOoNqMOvhdWJfVoEqgqpd9MgMQ4bv9GzdIc4okiEjglaIIyUCoHt zbdddVrvT9hv63qWzJ1zC8mUnxU1wKih5WdyK1u5T1QDTE+qFS/UTwv98/Y+TlI9Huyv ZZgqtEdqgiALBQ5QZxlVRM8ePFpUcY6atLoWkD72O5DUUAvGayKE/YzaM4oH/4cXVJEq yb84gbzK2l+l4cEGfrjlXrnDQ5V7FwKvNP6NfKmVqccBD/fiOVHA+F5p5UKp23itd1Ss PKl04aAf6dSsa4vynt+vSzZdy76nS5OlnMPtXv7S+mrWh9zWDePeRTVt6xaExNLqvBDF RL0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:organization:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=UtQejpj2ub5GgwVa1H1jgT4JT5ap+riBEaepGdBSwnc=; fh=A+cDp0xGjL+ELUhlP9SdZIbP+oKuEPvAaX6rfXIsb2k=; b=SWfu/KqMlCAggaIZYgcFaxv5AQUfANV6Gs8XwpiGBZbPtT7TLrUCrUVy7M34Exqf2P iMUqavXsAAY1rKBSp5lJzze5/J4V/x3uPLzMy/UUONh6xi+TqXDBdF1RWpOyDrs0RfgY meVYravcCwQkgOf4mzcfrCp7cCyCStR8vOQJBh79bt5f/GS1hJ7UTzddC4B4XD40uGJ+ SZsyQATRBWUPM//J+GbGLabyUZmGlHZQV5mq/e0XWpse1Ku0pua5J/gQ4NwEhsLeg32d 2xwGIshCKTA8tGeBoYQLYD2r1MxPPNhqT6iutT02Pfefp4lifTsKodgZay0a6rJPOvdJ xz2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L+va+wK+; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-76275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kl17-20020a056214519100b0068f58ecb142si10373578qvb.583.2024.02.22.01.52.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 01:52:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L+va+wK+; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-76275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FF7D1C21860 for ; Thu, 22 Feb 2024 09:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C69E039FC7; Thu, 22 Feb 2024 09:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="L+va+wK+" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 4A63C1799E; Thu, 22 Feb 2024 09:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708595564; cv=none; b=jhce5Se1+R2dti59stAstzk8Drwjn8vfcg8A874gpNeMFroxVr8/5QIPeWjOFD1pzwZcKmAKb7SJmBbGKN024VcOCcgVEZe8jqn4yNeWJiMP8458HaTbCACeI4+gq+zyMLBWKdT81Fyu1MIQw9qgf544jf7Yex5sizgOhETH6bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708595564; c=relaxed/simple; bh=UtQejpj2ub5GgwVa1H1jgT4JT5ap+riBEaepGdBSwnc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=NvBKnfLVE91Vl30F20L0kdbkoZQizACiTSN1/y8MbPN8DY2woU43jDXaEXc6C1KjfTPhjd4d0/XSGkNRwkFyTGTPX9oYeHlLAfvyqstYWO3+btAeEgNXbnpkJD+FYWY0xlHa1q728yiyLPBs1m9bZDWqafsbjA+EQqup1Bmn1+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=L+va+wK+; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708595562; x=1740131562; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=UtQejpj2ub5GgwVa1H1jgT4JT5ap+riBEaepGdBSwnc=; b=L+va+wK+ZTtRqbj97rIJq3ZdF7U7hDDI3KHshzoz2ZF3CJOohcWjeV3b Vqm4Zw+812RfDYT01Dxo9PgZTyExlBEJR1Y4ABvPYsfHEnbgYu49AdTNW NI6Sq9NrnQf+TUrQOkAhf5kcnqmAv2kcwukIQNcn+4K/77YDso7tzkIZy nSlDZA58AbxP0ObXVpepYGuAGWvhdFTjiMfGzXv5pskGXTeL5YPaW95XY 3Ktl+OT4TGFQZ8TiDwp/fW6DUCyevxzK14y8GnBQma01DDDSThC8hnqLI UqFmNfSgt+cmvvt/uieBgdzEq6jS9Yqe3FIdM+Lo/I7nYBNaOo11Ei5iD Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="13430390" X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="13430390" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 01:52:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="10132604" Received: from binm223x-mobl2.gar.corp.intel.com (HELO [10.249.254.168]) ([10.249.254.168]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 01:52:34 -0800 Message-ID: Subject: Re: [PATCH 8/9] drm/xe/tests: Fix printf format specifiers in xe_migrate test From: Thomas =?ISO-8859-1?Q?Hellstr=F6m?= To: David Gow , Linus Torvalds , Shuah Khan , Guenter Roeck , Rae Moar , Matthew Auld , Arunpravin Paneer Selvam , Christian =?ISO-8859-1?Q?K=F6nig?= , Kees Cook , =?ISO-8859-1?Q?Ma=EDra?= Canal , Rodrigo Vivi , Matthew Brost , Willem de Bruijn , Florian Westphal , Cassio Neri , Javier Martinez Canillas , Arthur Grillo Cc: Brendan Higgins , Daniel Latypov , Stephen Boyd , David Airlie , Maxime Ripard , "David S . Miller" , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org, linux-rtc@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-hardening@vger.kernel.org, netdev@vger.kernel.org Date: Thu, 22 Feb 2024 10:52:31 +0100 In-Reply-To: <20240221092728.1281499-9-davidgow@google.com> References: <20240221092728.1281499-1-davidgow@google.com> <20240221092728.1281499-9-davidgow@google.com> Autocrypt: addr=thomas.hellstrom@linux.intel.com; prefer-encrypt=mutual; keydata=mDMEZaWU6xYJKwYBBAHaRw8BAQdAj/We1UBCIrAm9H5t5Z7+elYJowdlhiYE8zUXgxcFz360SFRob21hcyBIZWxsc3Ryw7ZtIChJbnRlbCBMaW51eCBlbWFpbCkgPHRob21hcy5oZWxsc3Ryb21AbGludXguaW50ZWwuY29tPoiTBBMWCgA7FiEEbJFDO8NaBua8diGTuBaTVQrGBr8FAmWllOsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQuBaTVQrGBr/yQAD/Z1B+Kzy2JTuIy9LsKfC9FJmt1K/4qgaVeZMIKCAxf2UBAJhmZ5jmkDIf6YghfINZlYq6ixyWnOkWMuSLmELwOsgPuDgEZaWU6xIKKwYBBAGXVQEFAQEHQF9v/LNGegctctMWGHvmV/6oKOWWf/vd4MeqoSYTxVBTAwEIB4h4BBgWCgAgFiEEbJFDO8NaBua8diGTuBaTVQrGBr8FAmWllOsCGwwACgkQuBaTVQrGBr/P2QD9Gts6Ee91w3SzOelNjsus/DcCTBb3fRugJoqcfxjKU0gBAKIFVMvVUGbhlEi6EFTZmBZ0QIZEIzOOVfkaIgWelFEH Organization: Intel Sweden AB, Registration Number: 556189-6027 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-02-21 at 17:27 +0800, David Gow wrote: > KUNIT_FAIL() is used to fail the xe_migrate test when an error > occurs. > However, there's a mismatch in the format specifier: '%li' is used to > log 'err', which is an 'int'. >=20 > Use '%i' instead of '%li', and for the case where we're printing an > error pointer, just use '%pe', instead of extracting the error code > manually with PTR_ERR(). (This also results in a nicer output when > the > error code is known.) >=20 > Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel > GPUs") > Signed-off-by: David Gow Ack to merge through the Kunit tree. Acked-by: Thomas Hellstr=C3=B6m