From patchwork Mon Feb 5 08:24:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Andrushchenko X-Patchwork-Id: 10199997 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 8F08460247 for ; Mon, 5 Feb 2018 08:30:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DE37285EE for ; Mon, 5 Feb 2018 08:30:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72340286BA; Mon, 5 Feb 2018 08:30:32 +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 B307A28696 for ; Mon, 5 Feb 2018 08:30:30 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E0D8A267376; Mon, 5 Feb 2018 09:27:04 +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 C65D52672BA; Mon, 5 Feb 2018 09:25:17 +0100 (CET) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by alsa0.perex.cz (Postfix) with ESMTP id 46B6E2672A7 for ; Mon, 5 Feb 2018 09:25:11 +0100 (CET) Received: by mail-lf0-f68.google.com with SMTP id o89so40478837lfg.10 for ; Mon, 05 Feb 2018 00:25:11 -0800 (PST) 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=px27EhmNBDLiri2z8HpHaKFId/kW+s1L1rrIqLgXJ3g=; b=SvmDasST0nHbQD4mAA9JESDfoEE3eFfTonc8vyYkOi20yWKC9xxrRkFMZJ44WOXAEI VeO5Jtu+UOyeV47livlqz5Xv/g6WZ5ZIYPi5QtJ5V9BfY1HT6mdOPmGhjtvPlAWLhG8N hlD54xGPCnrK5C38ICsyLHUch/bNOobqnhha9DV3SI/z+YuNNfqotPUq0I5JepHuqRsY dBGev4/iZDu7wEI07SiNkwepSohDU76YF8II+1aQDClLTGBhIb5xV/zUMagHYXcDK+Gu lSXWftDM6jZLZfLC39oQgg6XnrMZPf7VVPpHUYSmvgj1JT90p30ngPGI/cbqzjLUNzmk 6lnQ== 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=px27EhmNBDLiri2z8HpHaKFId/kW+s1L1rrIqLgXJ3g=; b=ITAQ2FHswk0t+EYRX3XJLf13++yLe2wCr4TXfkrZ+KGAY9YSiGzQCnHEhSQUx4yFde dqkC3FtEPrDZfk1oMfNM1ZJwk3cyfiR45JtlX/+4Vs/D569JwAMrIm5uBI29D12vpdmO DFHc6mK+06S+1vGv0PtWkfATpagX2SgDcKCxEnmZ/OSxI3M7UTZu2q1C9u5O0QJtixV5 kTiVbJq+N2HJfmk5mYyV8a9fao9SW9IjT9RA2sRb6IcYX8HPiFZn9W+h0gOuxGpQR9OW +4l+7Srj9eny0CuB8DKQTU4UCCCYIAg4jB8HPz6b1LZ8KrbAcDtdKqvKq+T2R70GWK5l w39Q== X-Gm-Message-State: AKwxyte4K6B163KG1m7qWN63XNHJDL5T1sFktkhGyOizEVKxZzlk+PUg Vj1HLIgab37jrZnrAg5fCmiJxg== X-Google-Smtp-Source: AH8x227+BVX6ClVU5kpp5/gMJoaOc13DXBBu5qDlCj9gXjpW05sdWDfMknzk6ydDhO4COtfVlNBitw== X-Received: by 10.46.41.12 with SMTP id u12mr17398421lje.52.1517819111203; Mon, 05 Feb 2018 00:25:11 -0800 (PST) Received: from a2k-HP-ProDesk-600-G2-SFF.kyiv.epam.com (ll-53.209.223.85.sovam.net.ua. [85.223.209.53]) by smtp.gmail.com with ESMTPSA id 97sm1736949lft.85.2018.02.05.00.25.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Feb 2018 00:25:10 -0800 (PST) From: Oleksandr Andrushchenko To: alsa-devel@alsa-project.org, xen-devel@lists.xenproject.org Date: Mon, 5 Feb 2018 10:24:59 +0200 Message-Id: <1517819100-1029-2-git-send-email-andr2000@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517819100-1029-1-git-send-email-andr2000@gmail.com> References: <1517819100-1029-1-git-send-email-andr2000@gmail.com> Cc: andr2000@gmail.com, Oleksandr Andrushchenko Subject: [alsa-devel] [Xen-devel][PATCH 1/2] 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..b0e6ac35e131 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 ****************************************************************************** *