Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2829319lqo; Mon, 20 May 2024 20:03:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuK2vWD4ndFFxU5eXb+N4415cDlAYErtMratIf43Yo2Id8kMMjWRbg4cRdog4cDRliV2UJo4/bL5/SZKgso3AKs/MGcXwQoDHo3tPyDA== X-Google-Smtp-Source: AGHT+IEswZy+wwbvJSGyhG1kOn3UkDM3Qz4zejJLMGKdhGxFCIsRuDB6RvHjLbxIqaG/uEA6cARK X-Received: by 2002:a05:6102:94d:b0:485:75ae:4d91 with SMTP id ada2fe7eead31-48575ae65d9mr14236745137.34.1716260619954; Mon, 20 May 2024 20:03:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716260619; cv=pass; d=google.com; s=arc-20160816; b=nXtsaovHxDRH+kOwCRL/y6PVegbpEc5sC+RN9ZgaqLcjcVsT+mAQDp/boWRQG8Hh2b QHZerY2NMeuvbqfXlaWCAGTC9awug4RVGTRWZMsFSeqZiIVV21JLm4332xZa04ki7Ytb E4RvVTCz8/AavzGlSSK9ZZI1LGOk6AY/16/GzQgJI9wf1Q26BWULyh0r6QsN90D6l8T9 3HiWTsDOeBQHKuxpigpVCGBzDRUiQU9SEdYhX6LOA+7wdXQYA556ToE09tzutNz2Zlbg HpjNLj7s72uOvu1n4Q+cXy+Jr61vzbsihreZCYEZQ82mncDu8RlcyNC0W1EUGWdZrbpS 8tLA== ARC-Message-Signature: i=2; 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=3yH4cgYMMAaGxLPOXrePnEWcnTlrV3DTHRbjwYgEkJ8=; fh=G4W+n4yZawMFxL+FtSbycbaP4KTYlrK2ZPW17F1AOxQ=; b=n9USYfxHF+ewagmio/5pOkbuKx8MLrtrs9Beg8dlAWu/BhehREsVS2jnZliB1eio5a VU3mmh3X25D38aelyBlfXFYYq0U5B117+Dv0PuD3WSWU1KLMaISyZ6XjfaFc65zBLnGl GbdvdEpGqJKyxy8nNdutpaKglWEioP4AxkTVTmtL/AZacG7gpwT8suolMHXWja4LsKem OFLe2AbFlTb0KdHhRZzPmj8D/4zFry4ib3YnCyN6EH9S2jAaF6k+E8aTzgucSIl7njh1 CBojhA/Htkilswg5y6CCtnYp2WnmS83fhZ4i1xqca+dHWAhepjc+CgVRPEKUnF+2BGNg fNSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=m5gUyjqH; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-184410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184410-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df549f3fasi56278121cf.115.2024.05.20.20.03.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 20:03:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184410-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=@ellerman.id.au header.s=201909 header.b=m5gUyjqH; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-184410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184410-linux.lists.archive=gmail.com@vger.kernel.org" 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 AADA61C2107D for ; Tue, 21 May 2024 03:03:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A563E1804E; Tue, 21 May 2024 03:03:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="m5gUyjqH" Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 E99CE12E71; Tue, 21 May 2024 03:03:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716260610; cv=none; b=LAoBShA1cVNnM+q9n/W0aEHFOt1DXejFHQ00tLn1Bb8ns8ZZNA0xcuHHRXbdGc7k0RO4SePjtsGUvZRyj4Isevwa63gqB2OOC9B2inyF0qYnGdvYkwrs2awCJtWRHZKpi5UzdC/JCy2Y9CR31ClmAdvYeOJXt9nriaHic5mP8WY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716260610; c=relaxed/simple; bh=wDSf+FvrOaDadq0LQ7KBbO3Q2DI+vTMu4WeT4Ed+Eew=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qmlSFlHrmDfxoVJYCjeAoMNhLB3QsXxSz8GYzq4ac6XM6X7uakGwZvIoYMQd+42qGFyGWHQUhVWNQlCJrZOiSAWt3MOJ2LsFQ+0Ok46zr3zhP7oBR5FkrmGepPaCPKnfAAht1NLIIzfvYcvfIblP2UJsErWiEFBkaYQALuN09NA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b=m5gUyjqH; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1716260607; bh=3yH4cgYMMAaGxLPOXrePnEWcnTlrV3DTHRbjwYgEkJ8=; h=From:To:Cc:Subject:Date:From; b=m5gUyjqH6+Ol/OHrz8w1vc1BN6Bphq+1c3tVchEXLqPOd0FlVslFIuJG0mgT5NGTW 0Hvc1yQww5wZU+DebLIfjos8fPtps8W/99f4NZML1F776WX07HDyAbfCm4bcQ3D9Jx kcIhWHrwFrD/R26FJVYowzA6rHjvFGZh5bLRc+qLj8UF6Dcs2TCXdLPrh+cOdSCQq6 J+gYp0D4JWIwnxeTbcOhEC3cCeNZAsryaBpM1rmyBkDzSgmUqRFdYAMdDcmjLJzF7H JmWzdlyaxqhr5HPqOAuiEu5eMZzykYi92t6CMinywg3dY4op6NYvNyKRRuJyFtapNC kN3fsS7rZErwQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (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) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Vjzlg0VTKz4wc3; Tue, 21 May 2024 13:03:27 +1000 (AEST) From: Michael Ellerman To: , Cc: , Subject: [PATCH] selftests/openat2: Fix build warnings on ppc64 Date: Tue, 21 May 2024 13:03:25 +1000 Message-ID: <20240521030325.58095-1-mpe@ellerman.id.au> X-Mailer: git-send-email 2.45.1 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 warnings like: openat2_test.c: In function ‘test_openat2_flags’: openat2_test.c:303:73: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] By switching to unsigned long long for u64 for ppc64 builds. Signed-off-by: Michael Ellerman --- tools/testing/selftests/openat2/openat2_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/openat2/openat2_test.c b/tools/testing/selftests/openat2/openat2_test.c index 9024754530b2..5790ab446527 100644 --- a/tools/testing/selftests/openat2/openat2_test.c +++ b/tools/testing/selftests/openat2/openat2_test.c @@ -5,6 +5,7 @@ */ #define _GNU_SOURCE +#define __SANE_USERSPACE_TYPES__ // Use ll64 #include #include #include -- 2.45.1