Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2347593pxa; Mon, 3 Aug 2020 14:00:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZNg8WT8HApO2H9JD9VXHn62i5shjCWY1bpxtM8+YIZDYvnOXL6LZe8qQvXXpQfdImn0ho X-Received: by 2002:a05:6402:3090:: with SMTP id de16mr16966492edb.16.1596488428191; Mon, 03 Aug 2020 14:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596488428; cv=none; d=google.com; s=arc-20160816; b=skGqvVQDy8i3yiPUtWdLmB6WqovSuU/kN3dS1w9Lj6S4SzbvTvz5/tZ2Lw4H/HBqYE I14i1ggmz8oJ6Udj71qLW3ZtfRI8mzrRCTruROV6Knyl9E3SbWuBhhHFyRNv4nWmuL+p wkqu8BQF8edtgh1vpgmjaSdJHD29z0dwJ46O5dCMKBc8GrIxIjzm8EfWRo/AGeJpCA1z TZ9/ZOWcBmW0gDyHN2uwauGTKXfDKCnEVpQ8nT1rzNfEggC8dqa4GS0hI6xdMgmQqER/ wtSSzzSIet+SzxgGgQsjvE/jwbixYxD5/znPZuyrg0hZ3UhpHypKVGwy980bJSDKme/B uMdQ== 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=or+zNAibqtaoCeVVGOGdUm20NwzQtJQIDqrZeu9+GCU=; b=QFBi2VhcY8GIcXiLoek7QuBNKouTcKQfiz+eovNM4aB09iz0A60XkZnqyl1Q5gEFPC WakMAMtqJFURGGFpAB+zf54orCcGZ8h1YPNnranBAkWgQPAy4ctSikJFbb6INECls4ee wzoO5p76d0g52zYcCQeknxmHi2pkcfIyUgO+CxwU524QS+Oe9LMhH2meYPxYEdunjwei mZOznk+NswFXh7N0WudSMZFjZgVWMXDLJyOQwhuYMbMItRjrFYZoFmQSrtmxgYa5mn8+ DxQnjoOvyZzjWrKd3PmSQz6k7uKeUDr4SMTdZfticp4b/sKRu3ZRWqq/zV84S2QsqWZe 06lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="TwkydxG/"; 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 o10si6019256edv.301.2020.08.03.14.00.05; Mon, 03 Aug 2020 14:00:28 -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="TwkydxG/"; 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 S1728570AbgHCU7V (ORCPT + 99 others); Mon, 3 Aug 2020 16:59:21 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:30239 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729079AbgHCU7U (ORCPT ); Mon, 3 Aug 2020 16:59:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596488360; 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=or+zNAibqtaoCeVVGOGdUm20NwzQtJQIDqrZeu9+GCU=; b=TwkydxG/QH72p48OLC6OaIreqgXJB38DjSy33FeNt36OWFT+QjSKpwiGD0BDC5UIgj0U4p Dxo0eJtmBlw31v8zV4ew6tTBjszgizSzRzDvOhyuFWne0UfdpalRrD9rcAwK8rSGk+VUN7 NISfbN4+kTrisagAM/P1xlmG0QivN/8= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-138-ELpv9psMOZ6bvRehq5RZ8g-1; Mon, 03 Aug 2020 16:59:18 -0400 X-MC-Unique: ELpv9psMOZ6bvRehq5RZ8g-1 Received: by mail-qv1-f71.google.com with SMTP id d30so7057245qve.5 for ; Mon, 03 Aug 2020 13:59:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=or+zNAibqtaoCeVVGOGdUm20NwzQtJQIDqrZeu9+GCU=; b=pL3IexoZkdoJomJSLBSFIkGImvra5xKzbWgmkhKDVkCJ7cmHuUA95brR27HFv48b2e /+78bgMH8UIf4XX0Ysdw9WSiFX1KYd0sMZYmeqRNoyUhbwWHvfs2+sV24mb3aLEmGvME 41iS/GpV7ksmmtr/hfPkXHz+UFpsaICW098uwe5jZkSuYx7DibS7oLujbaQOtoJuTQwO Y7yZdI76tM8JGMsQyk4kj8/IC1imPisJs+1wTtrR6skVrb+fPzcLE0a91SX4QXphuM4Y z3wjaWutVwvS617s+RFVXGlg39QMM8dyMXTmH0AIxSIUc9AMUdZHNlVSghn46RtOFnjS O3Yg== X-Gm-Message-State: AOAM533+9PucmI4hk5eM/AHOAOqcGdqgLHza1b6rSgcKkpOn9t712pF6 zyryhY3TGtxZyC4K0vipTFEPpe7XjHcPOTRir4LErp58XVRMF6qZK1dJkKHhOyhOtzbmso24yG7 tvBOtGQoUjk9mo0Xa2DV60F4c X-Received: by 2002:ac8:1084:: with SMTP id a4mr17555984qtj.83.1596488358265; Mon, 03 Aug 2020 13:59:18 -0700 (PDT) X-Received: by 2002:ac8:1084:: with SMTP id a4mr17555977qtj.83.1596488358075; Mon, 03 Aug 2020 13:59:18 -0700 (PDT) Received: from redhat.com (bzq-79-177-102-128.red.bezeqint.net. [79.177.102.128]) by smtp.gmail.com with ESMTPSA id z14sm21310391qtn.92.2020.08.03.13.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 13:59:17 -0700 (PDT) Date: Mon, 3 Aug 2020 16:59:13 -0400 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: virtualization@lists.linux-foundation.org, Jason Wang , Vivek Goyal , Stefan Hajnoczi , Miklos Szeredi , linux-fsdevel@vger.kernel.org Subject: [PATCH v2 09/24] virtio_fs: correct tags for config space fields Message-ID: <20200803205814.540410-10-mst@redhat.com> References: <20200803205814.540410-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200803205814.540410-1-mst@redhat.com> X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since fs is a modern-only device, tag config space fields as having little endian-ness. Signed-off-by: Michael S. Tsirkin --- 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