From patchwork Mon Mar 19 07:22:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Andrushchenko X-Patchwork-Id: 10291723 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8DE85602BD for ; Mon, 19 Mar 2018 07:22:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 733AF28707 for ; Mon, 19 Mar 2018 07:22:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 674DB287BA; Mon, 19 Mar 2018 07:22:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 930A828707 for ; Mon, 19 Mar 2018 07:22:50 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B96122673C4; Mon, 19 Mar 2018 08:22:42 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0759E26731A; Mon, 19 Mar 2018 08:22:39 +0100 (CET) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by alsa0.perex.cz (Postfix) with ESMTP id 2C06F267299 for ; Mon, 19 Mar 2018 08:22:36 +0100 (CET) Received: by mail-lf0-f65.google.com with SMTP id y2-v6so21699404lfc.5 for ; Mon, 19 Mar 2018 00:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=V/h74qXIUoPt8O04+jjlRVvnZlMm5wJ/tbHrH2YjKPs=; b=AsP4wDUrWaBIge0/moQ8dt0GlpLIFNH5KTD2P5LlxMB779F9VL+kmHACkyKcpCLSKR wYpaqr10iJwkH/fwGhnaK2P8Ua5APuGbfbKlI42YW1MNx7lTuueeJNuCDiKTywrLUYPz frwgJWVCSzYdYrE5odMpwEdCeuyS2oaFDLuUW5LJgM8jRI5VeaLwFFnHB2NCL5UHdz9/ WnIJE1XNalB+pkq1H4FhFeIoWvGjMcNWyISAviscroDkCpf4zGPIgqiwMNVPmVR+fM3t v41bOdNxF1QP3SU5FWjAGJi/0jKRIU9nRXTkeDbmFFPD9LwKQWPjBMBQCORXNlICeypl rFOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V/h74qXIUoPt8O04+jjlRVvnZlMm5wJ/tbHrH2YjKPs=; b=M0nTpiAzhW4Yl9978cGZVgIk1eWqnnNBNTe9cvpZqWiQGDbnw+cd4pX86h5i7+x9BI 1/GGnsTiP8DyZx22xkPNEMtU0vocfwMIaZlYBiFDaRr8DjVCute1lFC9EZBeMCuCm04H WKPx8JTpOt9QAAYZDEFDQo434248mXkUOJNS99u2FlY1/kdTdE5FliqhKqBL5AdStly2 9JzM9oUWSs/lWA42Se1tEcEalfo7nb+vOL4z3Pkf4H6DpEYmN+EZrFcS7Qhy9vMqimw6 l6fhRrkQPYa3eVz64XW2ZjXMX5duqrA3HRZF5NRcWuEipfoCSeD+ca4kj+RUfDvVH0is f39w== X-Gm-Message-State: AElRT7GOfaNUgRyW0U8L9tizLZg+x6jY7sAshp61UQVOZgffown8SoQG 04/BGby3Oj0EDGkKB94OTSuD1A== X-Google-Smtp-Source: AG47ELt32cchhr+PrHnnh0TbZGEmG0LmkWcRAJYD4ELfazJ2WkXuN81Fx1q5KeZZzVeE3w5vD86wSA== X-Received: by 10.46.32.11 with SMTP id g11mr7006750ljg.75.1521444155995; Mon, 19 Mar 2018 00:22:35 -0700 (PDT) Received: from a2k-HP-ProDesk-600-G2-SFF.kyiv.epam.com (ll-74.141.223.85.sovam.net.ua. [85.223.141.74]) by smtp.gmail.com with ESMTPSA id e123-v6sm3221317lfg.47.2018.03.19.00.22.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Mar 2018 00:22:35 -0700 (PDT) From: Oleksandr Andrushchenko To: alsa-devel@alsa-project.org, xen-devel@lists.xenproject.org, konrad.wilk@oracle.com, tiwai@suse.de Date: Mon, 19 Mar 2018 09:22:20 +0200 Message-Id: <1521444144-12451-2-git-send-email-andr2000@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521444144-12451-1-git-send-email-andr2000@gmail.com> References: <1521444144-12451-1-git-send-email-andr2000@gmail.com> Cc: andr2000@gmail.com, Oleksandr Andrushchenko Subject: [alsa-devel] [Xen-devel][PATCH v3 1/5] sndif: Introduce protocol version X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Oleksandr Andrushchenko Protocol version was referenced in the protocol description, but missed its definition. Fix this by adding a constant for current protocol version. Signed-off-by: Oleksandr Andrushchenko Reviewed-by: Konrad Rzeszutek Wilk --- xen/include/public/io/sndif.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/include/public/io/sndif.h b/xen/include/public/io/sndif.h index c5c1978406b3..667e610fda2b 100644 --- a/xen/include/public/io/sndif.h +++ b/xen/include/public/io/sndif.h @@ -38,6 +38,13 @@ /* ****************************************************************************** + * Protocol version + ****************************************************************************** + */ +#define XENSND_PROTOCOL_VERSION 1 + +/* + ****************************************************************************** * Feature and Parameter Negotiation ****************************************************************************** *