Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2827659lqo; Mon, 20 May 2024 19:59:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9KO6bWFRk2fkUlAcI4aock+Y2Cq13FW7K0xc3tgv+aoCRkLL58BSgPIVNBvC5TMS4WFJ6VbqTvS9jpyARCn+eXsRHi8D6yDR4o/vLkw== X-Google-Smtp-Source: AGHT+IHN3n0VpC6pXxJjIwBtWcaV0bYwG9+5q9uyd6NlCD/SjxFB6YRRVfAH4XuHAjur9Rjodn1u X-Received: by 2002:a05:6359:a3a3:b0:194:801b:151a with SMTP id e5c5f4694b2df-194801b18c0mr2231104855d.23.1716260347913; Mon, 20 May 2024 19:59:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716260347; cv=pass; d=google.com; s=arc-20160816; b=QK0RTIBKnt6flmE/HwCfpXrvJ+OqWJ4B2gl79X/FGC1nmorsWA/5VdebWxNjBdT7hI N+GL0KFrfGOBJ+t5tYGOjumol3s20yDZz0gCMV5xvTG4wRJDSra/g4QwDeZYe+0T+NlR gxG2kaMhnOXOGHGt8ewR5AngMiJp5aw48QJAo36zasbPuy9RtWdBDEMb1K5IsAFDZEnT CS+HPxeq8ITxjJWnPl4mXbTr3jarQsJTOVAYNle5QNIABdfXL9QsSjzJBWAixNBvyZB2 8MxON3l6ESorhqVVASLDVcJcg/Yp4yiGTqHzuMvmHb+5CTXy7jjZND7xne+IlVwRbOaP nOfA== 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=7kHB/B7pdEbxFksZxcWfPUa01xxD95y0BrxFKM1OMoY=; fh=G4W+n4yZawMFxL+FtSbycbaP4KTYlrK2ZPW17F1AOxQ=; b=AF5fLqPlHcuC03VmynaCJsHTnEmQlFmy4vNMlPpUhJkovZhpfyPE+K9X3xWdbsJbc5 8xUZv/Tp9jKmFKrV/tgjynpWICsEbAyUDE+C+XEJy+k00wA952FkOhdKT43JpUtFTLaS UQJkx4Xt+iR2v5Wx4e9Y+MR/rTZeXOuwV9psAn4H9M80k5saZvU5rjUvry0V53aN7sZ7 R2vCoSzFAMtRIxu+Lm/JHv95c2NxZUEyNDxL27xrhUZPdmz2pgULrARoSx6ZId6Cxuz7 nABOX4sZx3VLmCfDF3inkjm8x+DWQJ44BpGc6H7k/bdZVdBGNVM3D5gOWKSn02y9xuGq bvCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=COX99QEW; 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-184400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184400-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-639c904579csi4297153a12.331.2024.05.20.19.59.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 19:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=COX99QEW; 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-184400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184400-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6FB1D2823EA for ; Tue, 21 May 2024 02:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 148AC1C287; Tue, 21 May 2024 02:58:49 +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="COX99QEW" 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 213E2DDD7; Tue, 21 May 2024 02:58:44 +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=1716260328; cv=none; b=YteJ6wtehQXCt0fQkh/UR7RDuaRIpPkSt0dZdR5rTqhn4UUHREZkzxhNU/nPPJtt96vzrZN0Et4+K+kNnePw/fyIIsk+iO/sxnCk6TJHUaBQVGI/os3xZ0vVA0aB6lfd+qglX0o4aWOF66qw6Ks+x3aovFFAq4ykTybnFVSQVzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716260328; c=relaxed/simple; bh=gKlBpkYXOTJwD4p+BNk74tb3Rj9czrLahPewgupALc8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XVz42eZIJs2NvUqI4HYMJcMgZ+XrxDm3pWFvfLr3kccQk5CCmNYE0RzkSanEhd/sxmRE3jE7WE5kQZZMeI5+FGZ6zHHjliOoSDLv34kGFO7N7/A2fO1TDrsliB3/AzinQCnfnIQMo+AroJtbjIzh9gFyKV9TjmCUo8lwsrdtyZk= 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=COX99QEW; 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=1716260322; bh=7kHB/B7pdEbxFksZxcWfPUa01xxD95y0BrxFKM1OMoY=; h=From:To:Cc:Subject:Date:From; b=COX99QEWSMbpjgoX/Hyr0QExd9jKANW/+lqZMj6opdUETQumAc+ytuURis6vetyrK 8x9aqVarCqG97FIYFHRUcGo6hOz/ei/hyF1kvxLWx0x/puBoIQFqWoxBZgpMmuS5M9 lwHkenJolSQosv5kl5/U5sef0Slpslszdjvqb+uWsV3dTfgvOBQS4zVy5IQVQRZ87d aH3npmjbNPVvGjbhDZ/NwiZ7gg2fd2pLAucO8GdGSP/vc4X7+piLQbG5LxTAiGY8bz hgbaBK05cg6tmRtIwegk8KpArgcuzXRSjuyEYZOUAzxG63PdA5S+kHUI4gpdPwlbdy d2n42LFwj6RgA== 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 4VjzfB4yz5z4wjF; Tue, 21 May 2024 12:58:42 +1000 (AEST) From: Michael Ellerman To: , Cc: , Subject: [PATCH] selftests/overlayfs: Fix build error on ppc64 Date: Tue, 21 May 2024 12:26:16 +1000 Message-ID: <20240521022616.45240-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 build error on ppc64: dev_in_maps.c: In function ‘get_file_dev_and_inode’: dev_in_maps.c:60:59: error: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 7 has type ‘__u64 *’ {aka ‘long unsigned int *’} [-Werror=format=] By switching to unsigned long long for u64 for ppc64 builds. Signed-off-by: Michael Ellerman --- tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c b/tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c index 759f86e7d263..2862aae58b79 100644 --- a/tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c +++ b/tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE +#define __SANE_USERSPACE_TYPES__ // Use ll64 #include #include -- 2.45.1