From patchwork Mon Mar 23 05:35:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yan Yankovskyi X-Patchwork-Id: 11452361 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E2779913 for ; Mon, 23 Mar 2020 05:35:58 +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 BD028206F9 for ; Mon, 23 Mar 2020 05:35:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HvHOEg6b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD028206F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jGFjx-0007wZ-5Q; Mon, 23 Mar 2020 05:35:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jGFjv-0007wM-VW for xen-devel@lists.xenproject.org; Mon, 23 Mar 2020 05:35:07 +0000 X-Inumbo-ID: 0dd68cc8-6cc8-11ea-92cf-bc764e2007e4 Received: from mail-wr1-x442.google.com (unknown [2a00:1450:4864:20::442]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0dd68cc8-6cc8-11ea-92cf-bc764e2007e4; Mon, 23 Mar 2020 05:35:07 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id b2so15333672wrj.10 for ; Sun, 22 Mar 2020 22:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=48qkqxYGNTDT4PSF+80i7p8bQweaG9a4WqU/RKeDBq0=; b=HvHOEg6bjFJZoPMKPOmc7fwaVV2PDx1Ej1qXD4A4KcfoHT4syJkL251SH4ddfaSJay LPG6C91roOJSUvy0ke+r7pFnsOYGJ07pHwVSYGbZBje3Pn/j+Eqo4r5KbfG7ddlkDr8X XXe21LX8S9C4hlWgexmfve42E6GH+e9sbTpqE3kVe23+MBRpEYLR4OX2kr6FWTObvxJ0 5URCx0Xc83wMqefkAMRfk4fJHl1qFA5HMp3x4hPzWGme60NBZLkNguorjZv8XTEu2Zta xvWzY4CFtu3/pI59o8w3UutM5Ex/oEe8SYq9ltKHJfTHz30uUeuS73UfE0jWqbSLSJWo Uptw== 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:mime-version :content-disposition:user-agent; bh=48qkqxYGNTDT4PSF+80i7p8bQweaG9a4WqU/RKeDBq0=; b=DnhZCJV8dMHIMel3Oj9WCTw4qVnXQN4E0CCr7EuOGhHNGLQ/hsrdoh0JC+hBWacHnq FOCOhE/zbpoxd+BmPloVQPJFTWgGwLm7IEmuCzDaAcXaC2MnLTdGTRLCu37bYGqMYMn1 /VVhHpzcqcVqgOH0Zoq1KgDCAWRKHK3JORTnOWeQo9umLDpEMEF+6096Cui+AFRwM1xG V1lDdgBAji1it4PokHIKO2JwyktWfJWuCmSFmlNEfvJA5FqG5AtzhVHZG65MGX0q074S vWlZGjnx4gBD8eLmRFHD/5Iww9mRHcdgIy5SLGZIAqZazZzPJP8daBaiLuOyfQQxnoUe Geuw== X-Gm-Message-State: ANhLgQ2oA371RHHTZ2N+ERtqFXlw+6jyC5UiUuwose/S58BadwvqOtXd /gttlRgmCSNQCKwTbj9VpWg= X-Google-Smtp-Source: ADFU+vtxXvjXEAlDtqjeAJ71CW/iwYi4dJYF2EK/ocEUKGF4ITV9b2s0pUjEdrnOwB6r7yU2RMkscQ== X-Received: by 2002:adf:9ccb:: with SMTP id h11mr7645800wre.22.1584941706626; Sun, 22 Mar 2020 22:35:06 -0700 (PDT) Received: from kbp1-lhp-F74019 (a81-14-236-68.net-htp.de. [81.14.236.68]) by smtp.gmail.com with ESMTPSA id z129sm19935999wmb.7.2020.03.22.22.35.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Mar 2020 22:35:06 -0700 (PDT) Date: Mon, 23 Mar 2020 07:35:03 +0200 From: Yan Yankovskyi To: Boris Ostrovsky , Jan Beulich Message-ID: <20200323053503.GA1406@kbp1-lhp-F74019> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Subject: [Xen-devel] [PATCH 2/2] evtchn: Change evtchn port type to evtchn_port_t X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , xen-devel@lists.xenproject.org, Stefano Stabellini , linux-kernel@vger.kernel.org Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" struct evtchn_set_priority uses uint32_t type for event channel port. Replace the type with evtchn_port_t. Such change is also done in Linux. Signed-off-by: Yan Yankovskyi Reviewed-by: Jan Beulich --- xen/include/public/event_channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h index 44c549dd6b..cfb7929fef 100644 --- a/xen/include/public/event_channel.h +++ b/xen/include/public/event_channel.h @@ -307,7 +307,7 @@ typedef struct evtchn_expand_array evtchn_expand_array_t; */ struct evtchn_set_priority { /* IN parameters. */ - uint32_t port; + evtchn_port_t port; uint32_t priority; }; typedef struct evtchn_set_priority evtchn_set_priority_t;