From patchwork Sun Jul 9 18:28:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 700877 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp4828055wrs; Sun, 9 Jul 2023 11:34:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlF02IGIacBj52km0aM5OtOoJxT618ir+5dYGLl9hEn9GBxM+hVBlSLNzuUh0B055vc5x493 X-Received: by 2002:ac8:7d54:0:b0:3fd:dab5:9430 with SMTP id h20-20020ac87d54000000b003fddab59430mr13146899qtb.16.1688927663697; Sun, 09 Jul 2023 11:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688927663; cv=none; d=google.com; s=arc-20160816; b=KY5bLIpZGYgZq89jf2iyUMz6P/qLn0yU8QRKXkzs54N2vR1NZQ0WKDQIX6K+Zr5OTH oWqWIHLtQHjU5x7EXnn2WUyI8f3jvTU54vq51mxiXZ8O5VmrJMdF6JXkLL/MmaSrVg2d BPMygFfpCteRGFgRbS0AukDbA/DrdR7caNM2wFZfVdF4KYMY7JFdxDo2I+m8W/JESIeN nii2KmMsR2QftJcVpfjMxFzUbLqDiWFdfDOPUqnbJfVnNh7L/mquLYGrkJ12Hrs+jYiW nUr+Uzu4+583sBtwh10g/uMJFmAipPRyNmUmH90iXz9ErejV5OTwK7npvEtAFYgRa76O BtEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gtm9LlPfPfRyjkKrgBvN2xo7wsnPpDSqZNVUjufgcPA=; fh=3IEiF/YPZ00TE94rna3Orj/L+TRFhpuNf7ElRJz3ubE=; b=MWYHhAwEsa7GpoLUPLfpJaxS9Wlz7cg0PPENiBksHoDjtLJnb43Z+z1NcNDpcR5vnj x+5F+6JvRe9wxHz2cbLEMADQcV+mMgC26S7Q0+hBTJCUr0A57yudiIfJe/tSPpi6s+aA TSnIo7l50Zl/NpOkdwLzfudOc7NUvxChdQzrSeF1JB4Ah0xcQITJYgxPv7JIEXvOuLi+ UKt34p1MiLcVCwhrW2bhcLT5BOooJJKVyrBpJBUm0SbFjxre+byO3E1oXhiaATcsJVaP o33BYnwlR34u6WTZD7P/7P1L9XjqWp+qOGak2B15Tn3odtDO0Jf/cwYJg3YjEp1cnxAd 9N7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l4rfDr3M; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a12-20020a05622a02cc00b00403aab5e21esi664825qtx.234.2023.07.09.11.34.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Jul 2023 11:34:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l4rfDr3M; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIZAW-0008Kz-Hp; Sun, 09 Jul 2023 14:30:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIZAR-0008HP-U0 for qemu-devel@nongnu.org; Sun, 09 Jul 2023 14:29:55 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIZAQ-0000HM-Bq for qemu-devel@nongnu.org; Sun, 09 Jul 2023 14:29:55 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fbc244d384so38081695e9.0 for ; Sun, 09 Jul 2023 11:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688927392; x=1691519392; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gtm9LlPfPfRyjkKrgBvN2xo7wsnPpDSqZNVUjufgcPA=; b=l4rfDr3MjK4RE7wEClaQrlzP3TCQBQ6giKIlb7sWPZqLf6eV16xw59LsNjb2kWDGCQ 3Jd2IiF0f9OiyxhKSrixBPTetc7RwTqZsDhTCBnP87w/YE0XcjZRphfspoB8yGT2kboc 8RBHfH5LAxJhqjzAQF6QUUsfUXW7oL0n+P2pVmqhjWakUmyUoHehrb3lNFgIBbggZru7 amduiybTpfQM4lQ4OcMBktvG9RIaenBaggj3da6FX8ilPJhUQR4P50nooGv5qs0wSoOk qkTJv4xVbU/6xSAy6KJ3T7NPfS5VFJuQYAqd45khSXGs66AzoOEC14HF+MIy5AW3X6DH oFKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688927392; x=1691519392; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gtm9LlPfPfRyjkKrgBvN2xo7wsnPpDSqZNVUjufgcPA=; b=ZkKRKMm82Wk065NjsfSRc7WPM6jnqFhU2xFwUQRqZ+JyMyEgyh1FBjMDNN3W7ZzGhu EpGXYlvD+z4/uh/akY7gEdtS2c9PWy9BTwUgbFqGsorRSG8Qz+wHK02i3OSxKQoSzW5+ GYFuYDQkLed6Q+RBFxnHjyLmHEI6855jwseVV/k/tTq0ImOneEuigp+jdM17yjJTLcxV L/9F+l/JigAMvo67V1YPCMhrIqTf4RawAfx/UfXy68gMbjUpfjjXNSn8/MCCZevJlT6c 9CEJoTShVP7PVgxeNqfLyvCQzXBJbt4Ov4SHog8ZXhJPIZs1M5H9oswfTl3bonvA6iUT E08w== X-Gm-Message-State: ABy/qLb8uJTGJ1MDDoirL1Nig3U6lIEd9pabtcKXZdkd6maKSEAhkwSu z2s8IFvM/TBMm7/qMOwnRP4BA8sQNCczZBxb9U7Mpg== X-Received: by 2002:a05:600c:452:b0:3fc:7d2:e0c0 with SMTP id s18-20020a05600c045200b003fc07d2e0c0mr3359044wmb.27.1688927392099; Sun, 09 Jul 2023 11:29:52 -0700 (PDT) Received: from stoup.. ([148.252.133.210]) by smtp.gmail.com with ESMTPSA id q15-20020a7bce8f000000b003fbe791a0e8sm8317108wmj.0.2023.07.09.11.29.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 11:29:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 09/45] linux-user: Use abi_llong not long long in syscall_defs.h Date: Sun, 9 Jul 2023 19:28:30 +0100 Message-Id: <20230709182934.309468-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230709182934.309468-1-richard.henderson@linaro.org> References: <20230709182934.309468-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/syscall_defs.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 45ebacd4b4..e4fcbd16d2 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1370,7 +1370,7 @@ struct target_stat64 { unsigned short st_rdev; unsigned char __pad3[10]; - long long st_size; + abi_llong st_size; abi_ulong st_blksize; abi_ulong st_blocks; /* Number 512-byte blocks allocated. */ @@ -1403,7 +1403,7 @@ struct target_eabi_stat64 { abi_ullong st_rdev; abi_uint __pad2[2]; - long long st_size; + abi_llong st_size; abi_ulong st_blksize; abi_uint __pad3; abi_ullong st_blocks; @@ -1576,10 +1576,10 @@ struct QEMU_PACKED target_stat64 { abi_uint st_gid; abi_ullong st_rdev; abi_ullong __pad0; - long long st_size; + abi_llong st_size; int st_blksize; abi_uint __pad1; - long long st_blocks; /* Number 512-byte blocks allocated. */ + abi_llong st_blocks; /* Number 512-byte blocks allocated. */ int target_st_atime; abi_uint target_st_atime_nsec; int target_st_mtime; @@ -1689,7 +1689,7 @@ struct target_stat64 { abi_ullong st_rdev; unsigned char __pad3[2]; - long long st_size; + abi_llong st_size; abi_ulong st_blksize; abi_ulong __pad4; /* future possible st_blocks high bits */ @@ -1933,7 +1933,7 @@ struct QEMU_PACKED target_stat64 { abi_ullong st_rdev; unsigned char __pad3[4]; - long long st_size; + abi_llong st_size; abi_ulong st_blksize; abi_ullong st_blocks; /* Number 512-byte blocks allocated. */