Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp325219pxa; Tue, 4 Aug 2020 06:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP3hpgNlGfWX66jjAaOpOWKTzDLnkTSJ4/hXKgG+MhIj7ZDvtdBqsupcZKwtr6C/Jp4y+o X-Received: by 2002:a17:906:cb91:: with SMTP id mf17mr21274675ejb.527.1596548256917; Tue, 04 Aug 2020 06:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596548256; cv=none; d=google.com; s=arc-20160816; b=iU2i08o2ji5uYvlwBs1YIDX8+3tRYwom/4ZoRrArvi+qXV+RjZyXLXLN6SmtVsxyxR rC9aihueNoFn9KLRaiBIzHdBx+3ir/tR3SICQiTcQK3jUMo5A/SvwQ70sr8h80BaRF68 JAp52YHOIGvoj0tZr28CFdm4rQuR0YParUtlFx3OvN+FGO86ZkZqgP7/WPPkje8S+1nn 4DgfaxlqsHRO68NDmqBrECuujNZcVXsCzt9qYrW6q4p85Z2pKx8u+AR+tQiYZRFSaiKF MfYZxh7yy8C+0tX1HAn/Jn2rarE7JCVxYA64czrF5GhBqy91B4njcFkiwM5pJGqFr+7w IjTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=IOCwdMErKnn1pYLabxDoC9kp0B6qr2CDAm+6i+5EwqY=; b=CRmDGSk0RAm4VbVANPWgbGmyUCPoC6V52vLGy59duq/JNZY6+oTI+pWJQvk2S0KFC6 aow3E1R8kU31i7ONazizb3gsM9mL5jR0N1v9tOllY+zI8fSvGlEUNutT5iO6icuhMN4W 7yHqI46ij6zwnEI/P3P4DInzjMPmdNcuJY4bYNgUk5oiCST29YrdSqM8g3Ud9HCjbbHQ 8X9Edpo/tcbWNnjnKCli0bhPeZRDijJtp7xNQefau2yo0QQHmF1+g/Au/mTGFqjRHaZ5 RvbP1YiTgzYGhvfXOqP4qk8d/9+JyLNGKia4rIhU9Esk4aJfkRqyMU+XZLrizxWdsfBc 2TmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KgKY5E9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id le18si12111134ejb.705.2020.08.04.06.37.14; Tue, 04 Aug 2020 06:37:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KgKY5E9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725950AbgHDNgl (ORCPT + 99 others); Tue, 4 Aug 2020 09:36:41 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:54363 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725864AbgHDNgl (ORCPT ); Tue, 4 Aug 2020 09:36:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596548199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IOCwdMErKnn1pYLabxDoC9kp0B6qr2CDAm+6i+5EwqY=; b=KgKY5E9vnlmLG+kLatT4FgOz3We4M0CZGJcjQJdccbx+SxywyqbSUBkqbIpGrguyZwV5p3 primNbMZZWUN6M9dAOCMmE+EQ3bIeROvSUtngCQNWvzHcT/ySnDkofTGFRADFBMytXA9uu Ok5UTGVUpRnC8E/X0ltvfjXCi1UEGJU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-253-fY9lu491MzGQTCeekwHRPA-1; Tue, 04 Aug 2020 09:36:35 -0400 X-MC-Unique: fY9lu491MzGQTCeekwHRPA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 01A73107BA73; Tue, 4 Aug 2020 13:36:34 +0000 (UTC) Received: from horse.redhat.com (ovpn-116-15.rdu2.redhat.com [10.10.116.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id A352F7B909; Tue, 4 Aug 2020 13:36:33 +0000 (UTC) Received: by horse.redhat.com (Postfix, from userid 10451) id 208BB220406; Tue, 4 Aug 2020 09:36:33 -0400 (EDT) Date: Tue, 4 Aug 2020 09:36:33 -0400 From: Vivek Goyal To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Jason Wang , Stefan Hajnoczi , Miklos Szeredi , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 09/24] virtio_fs: correct tags for config space fields Message-ID: <20200804133633.GC273445@redhat.com> References: <20200803205814.540410-1-mst@redhat.com> <20200803205814.540410-10-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200803205814.540410-10-mst@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 03, 2020 at 04:59:13PM -0400, Michael S. Tsirkin wrote: > Since fs is a modern-only device, > tag config space fields as having little endian-ness. > > Signed-off-by: Michael S. Tsirkin virtio spec does list this field as "le32". Acked-by: Vivek Goyal Vivek > --- > include/uapi/linux/virtio_fs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/uapi/linux/virtio_fs.h b/include/uapi/linux/virtio_fs.h > index b02eb2ac3d99..3056b6e9f8ce 100644 > --- a/include/uapi/linux/virtio_fs.h > +++ b/include/uapi/linux/virtio_fs.h > @@ -13,7 +13,7 @@ struct virtio_fs_config { > __u8 tag[36]; > > /* Number of request queues */ > - __u32 num_request_queues; > + __le32 num_request_queues; > } __attribute__((packed)); > > #endif /* _UAPI_LINUX_VIRTIO_FS_H */ > -- > MST >