Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1495135rdd; Thu, 11 Jan 2024 00:23:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0/lf/w7rjy/HBcvvhHS6cLLkY4Oj1Gdbly0hlpEh60Y+Qa+b6LuCG1I48NMmT2pGMtSfT X-Received: by 2002:ac2:4349:0:b0:50e:5d72:a26b with SMTP id o9-20020ac24349000000b0050e5d72a26bmr308969lfl.90.1704961385282; Thu, 11 Jan 2024 00:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704961385; cv=none; d=google.com; s=arc-20160816; b=Hmc3k4M95waCFLDXC75c3z7djcccibxOe839lYkHOb0YkjFMXL5nNU3dLkYWLWUvoJ mpBQ1NRvWgmojM2cQK/p73D/aVlREqJkjiZuJGgrZKtpV/o/6o0XtoGPqOngasycJYjM veIKaZLT+jSNjCUIk/lyahh8UZ+f74ZIdaBPWsP+LhVoSKXcEReECBfOV7ZuwgAKtXoz qIA6tDvA6iZzUlkI7uuqvHVoD/4WxLxnwu3dX8Ay/D+cjI6L3YzOevFZdomYfONFMbb5 h1PEro5zbwKe5/It9s7Nj8UWqw7Xg4uD8WTRD3d/FBeOtXljOY6iHfoFBvqZlQ3BgyE3 RD5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=CjZQ5jxdXgwy5T/cbXbPUxaOwXohrQ1Dqx3moj5dPKU=; fh=k5L2LUyhJCu8KGwTGKt38tLjctZn3Wq7HuLySfvQIJA=; b=wWSsKT8lXHDzUaeaQgzq2hpYmzRxfccrrahCaEXTatoxUL7FuULJ8qGWmYF0J2iXBM +dENynnELkQBYDrKAwAMmDUjO0vmyVFrHQtZXjXnMzvZoRdifqCXnm2cxFO7Q/U6tqYp /kNq6cm09A0f0cQhOzf85AWawv1Klj0bJMKtK0Jj77jiSChCRdW2bAJ1odxao0/upLA4 xDlwNN7Xc+Kk37faMfrVZZ4dc1mVFYWNQYQ3QRTkXIoVJjrMqpKdSjZOb1ylTkjadGF6 gkZLrEZ1kfDkm0rkDVjEmFXLbkGoGa+WduQdI1f3fQYZ5YsBREmDevnVC/U42YWoPrnm FybQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=4QZg8gxL; spf=pass (google.com: domain of linux-kernel+bounces-23212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ek15-20020a056402370f00b00553de437edesi311307edb.59.2024.01.11.00.23.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 00:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=4QZg8gxL; spf=pass (google.com: domain of linux-kernel+bounces-23212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0892D1F21999 for ; Thu, 11 Jan 2024 08:23:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BB61FBE9; Thu, 11 Jan 2024 08:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="4QZg8gxL" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 CFC2714F65; Thu, 11 Jan 2024 08:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704961236; bh=+QT1qADhN3aElSdApBfVVCCL+syggMVKAodbmRy0hY4=; h=From:To:Cc:Subject:Date:From; b=4QZg8gxL+JFstU+vyMO5eplxQfKU549dclXgTi1cHfIgtDefRmcl+7qw5uF41OviO wpkC9o/TF0PWgQLoZqz1BR7kSzR8ZzPCCgRTRajhJeEfH3MY14oytlJBYPNIijQ4N3 23gfkESjaQTj1DG1LQrBxEbtZwqtWpxZpGGif1NqOHqPF3HCQOcVx1LiT44VS8eLGQ 2hoJlT5hSFc7UBpNquoRJshxnO135R3HdpqGocGh0K7tuHJi0/3lnN29fgtxEIa3wg /hkHvQtVAlMpao5tXZQGaBXIP+edzE1LpZO6VLbOHKOP64gFa3FzJ4OkRJ0T9cPPiy L9DB6WwuXL0xA== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0D5363781492; Thu, 11 Jan 2024 08:20:33 +0000 (UTC) From: Muhammad Usama Anjum To: Andrew Morton , Shuah Khan , "Joel Fernandes (Google)" , Lorenzo Stoakes Cc: Muhammad Usama Anjum , kernel@collabora.com, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests/mm: mremap_test: fix build warning Date: Thu, 11 Jan 2024 13:20:38 +0500 Message-ID: <20240111082039.3398848-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix following build warning: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ Fixes: a4cb3b243343 ("selftests: mm: add a test for remapping to area immediately after existing mapping") Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/mm/mremap_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c index 1d4c1589c305..dd1cbb068982 100644 --- a/tools/testing/selftests/mm/mremap_test.c +++ b/tools/testing/selftests/mm/mremap_test.c @@ -457,7 +457,7 @@ static long long remap_region(struct config c, unsigned int threshold_mb, char c = (char) rand(); if (((char *) dest_preamble_addr)[i] != c) { - ksft_print_msg("Preamble data after remap doesn't match at offset %d\n", + ksft_print_msg("Preamble data after remap doesn't match at offset %llu\n", i); ksft_print_msg("Expected: %#x\t Got: %#x\n", c & 0xff, ((char *) dest_preamble_addr)[i] & 0xff); -- 2.42.0