From nobody Tue Feb 10 06:26:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 151811627383052.1516627045346; Thu, 8 Feb 2018 10:57:53 -0800 (PST) Received: from localhost ([::1]:36236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejrOI-0003t1-TI for importer@patchew.org; Thu, 08 Feb 2018 13:57:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejqTz-0002S6-73 for qemu-devel@nongnu.org; Thu, 08 Feb 2018 12:59:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejqTw-0006sO-6B for qemu-devel@nongnu.org; Thu, 08 Feb 2018 12:59:39 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:43312 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejqTv-0006r5-Vm for qemu-devel@nongnu.org; Thu, 08 Feb 2018 12:59:36 -0500 Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 7FBE56297AD5F; Thu, 8 Feb 2018 17:59:30 +0000 (GMT) Received: from localhost.localdomain (10.204.62.86) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server id 14.3.361.1; Thu, 8 Feb 2018 17:59:22 +0000 From: To: , Date: Thu, 8 Feb 2018 19:00:16 +0100 Message-ID: <20180208180019.13683-2-antonios.motakis@huawei.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180208180019.13683-1-antonios.motakis@huawei.com> References: <20180208180019.13683-1-antonios.motakis@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.204.62.86] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 194.213.3.17 Subject: [Qemu-devel] [PATCH 1/4] 9pfs: V9fsQID: set type of version and path to unsigned X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: veaceslav.falico@huawei.com, Eduard.Shishkin@huawei.com, andy.wangguoli@huawei.com, cota@braap.org, Antonios Motakis , Jani.Kokkonen@huawei.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Antonios Motakis There is no need for signedness on these QID fields for 9p. Signed-off-by: Antonios Motakis --- fsdev/9p-marshal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsdev/9p-marshal.h b/fsdev/9p-marshal.h index c8823d8..d1ad364 100644 --- a/fsdev/9p-marshal.h +++ b/fsdev/9p-marshal.h @@ -10,8 +10,8 @@ typedef struct V9fsString typedef struct V9fsQID { int8_t type; - int32_t version; - int64_t path; + uint32_t version; + uint64_t path; } V9fsQID; =20 typedef struct V9fsStat --=20 1.8.3.1