From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03E81C433EF for ; Fri, 22 Oct 2021 15:47:29 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 968EB60240 for ; Fri, 22 Oct 2021 15:47:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 968EB60240 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=apertussolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.215143.374146 (Exim 4.92) (envelope-from ) id 1mdwl6-00031g-Ue; Fri, 22 Oct 2021 15:47:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 215143.374146; Fri, 22 Oct 2021 15:47:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdwl6-00031Z-Rn; Fri, 22 Oct 2021 15:47:04 +0000 Received: by outflank-mailman (input) for mailman id 215143; Fri, 22 Oct 2021 15:47:04 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdwl5-00031T-Ua for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 15:47:04 +0000 Received: from sender4-of-o51.zoho.com (unknown [136.143.188.51]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 4c0425cf-334f-11ec-83c8-12813bfff9fa; Fri, 22 Oct 2021 15:47:02 +0000 (UTC) Received: from [10.10.1.24] (static-72-81-132-2.bltmmd.fios.verizon.net [72.81.132.2]) by mx.zohomail.com with SMTPS id 1634917617999463.14123576632755; Fri, 22 Oct 2021 08:46:57 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4c0425cf-334f-11ec-83c8-12813bfff9fa ARC-Seal: i=1; a=rsa-sha256; t=1634917621; cv=none; d=zohomail.com; s=zohoarc; b=L6i8OcuXs3Gk5mZxNMMklATyInx8pZj8xfmLD/9edXNbLNBmXwuqWLphuLGJTbcTWjsHQNdwuwEL7WyBLTgaIsFEpGDOb1Ndf11kZkOk9qmTQku6G6r+zFphUopH96hq2QgftuxHTkzJfqYxTmaLBqLtR186itE89066+EhX420= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634917621; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=wVSldqCk0cvU2+ib2AagL3niuW4Ej9KCLbBqbxcPsBM=; b=OGLQrYkz3GTVQs+yIr5PPYLIZxvNNneD2nRpP7hbVPrEpKbtt9+bgUfWHIGh72AFpIlodNsxe02rWzFPFWd27plEuuoNLzVT0LhLFzdyUlMZrbRC6lp3kCsARQxDUyxzt97MACMxwZwC72dRKgyXe+MsKu9LUGFGVmz8deTqzrc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@apertussolutions.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1634917621; s=zoho; d=apertussolutions.com; i=dpsmith@apertussolutions.com; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=wVSldqCk0cvU2+ib2AagL3niuW4Ej9KCLbBqbxcPsBM=; b=hydbCi2zLgx21dJT+d2ek1UvStvPMGgvs/i62gSG3WUVtDLX31Z7XC5tsZyYRBzO svEfu423tgCTRzwSb//hdCbO6kQ98yKHi1T85A55s9HOuYCAaWXMkfqzz96UjNgYEMu SZxj6LSWyRnoMVRde+KAUGHnY0PTyIjztIzcYMik= Subject: Re: [PATCH v2 5/7] xen/xsm: Switch to byteswap.h To: Lin Liu , xen-devel@lists.xenproject.org Cc: Daniel De Graaf References: <400efbc5c394140bb01664e5847046e8c4a38ea2.1634897942.git.lin.liu@citrix.com> From: "Daniel P. Smith" Message-ID: <037139aa-e274-a0fe-4d2f-10c457650d3e@apertussolutions.com> Date: Fri, 22 Oct 2021 11:46:57 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <400efbc5c394140bb01664e5847046e8c4a38ea2.1634897942.git.lin.liu@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ZohoMailClient: External On 10/22/21 6:47 AM, Lin Liu wrote: > Update to use byteswap.h to swap bytes > > No functional change > > Signed-off-by: Lin Liu > --- > Cc: Daniel De Graaf > Cc: "Daniel P. Smith" > --- > xen/xsm/flask/ss/avtab.c | 2 +- > xen/xsm/flask/ss/conditional.c | 2 +- > xen/xsm/flask/ss/ebitmap.c | 2 +- > xen/xsm/flask/ss/policydb.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/xen/xsm/flask/ss/avtab.c b/xen/xsm/flask/ss/avtab.c > index bfc91c8b0c..1fa796f625 100644 > --- a/xen/xsm/flask/ss/avtab.c > +++ b/xen/xsm/flask/ss/avtab.c > @@ -19,8 +19,8 @@ > > /* Ported to Xen 3.0, George Coker, */ > > +#include > #include > -#include > #include > #include > #include > diff --git a/xen/xsm/flask/ss/conditional.c b/xen/xsm/flask/ss/conditional.c > index 3e58aea551..059f6e07e5 100644 > --- a/xen/xsm/flask/ss/conditional.c > +++ b/xen/xsm/flask/ss/conditional.c > @@ -9,7 +9,7 @@ > > /* Ported to Xen 3.0, George Coker, */ > > -#include > +#include > #include > #include > #include > diff --git a/xen/xsm/flask/ss/ebitmap.c b/xen/xsm/flask/ss/ebitmap.c > index e1d0a586a7..1550437c6f 100644 > --- a/xen/xsm/flask/ss/ebitmap.c > +++ b/xen/xsm/flask/ss/ebitmap.c > @@ -10,7 +10,7 @@ > > /* Ported to Xen 3.0, George Coker, */ > > -#include > +#include > #include > #include > #include > diff --git a/xen/xsm/flask/ss/policydb.c b/xen/xsm/flask/ss/policydb.c > index 9426164353..595005c3b7 100644 > --- a/xen/xsm/flask/ss/policydb.c > +++ b/xen/xsm/flask/ss/policydb.c > @@ -22,7 +22,7 @@ > > /* Ported to Xen 3.0, George Coker, */ > > -#include > +#include > #include > #include > #include > Reviewed by: Daniel P. Smith