From patchwork Thu Apr 12 16:00:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Andrushchenko X-Patchwork-Id: 10338913 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 24929604D4 for ; Thu, 12 Apr 2018 16:04:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1593226E82 for ; Thu, 12 Apr 2018 16:04:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12EFA26E79; Thu, 12 Apr 2018 16:04:14 +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=-2.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=ham 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 1D0E128763 for ; Thu, 12 Apr 2018 16:01:38 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 72F6A26736C; Thu, 12 Apr 2018 18:01:29 +0200 (CEST) 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 7FDE826723C; Thu, 12 Apr 2018 18:01:27 +0200 (CEST) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by alsa0.perex.cz (Postfix) with ESMTP id A2657266FD1 for ; Thu, 12 Apr 2018 18:01:25 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id d20-v6so8467038lfe.3 for ; Thu, 12 Apr 2018 09:01:25 -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=UEY1Rt8wtyzCPM7WvVR/S1XzLkkf3c3PkpqwBZb83s4=; b=JS3aQaSYRXdclliGmhrTX/1CUReySd5dgwlZniyPqvhkz3VqNX7ppwnxLLWEPIFPyJ QXjXIeSulx9xwInRTICgOhlJ9qXjwGqsHa7+VBSpEuTCxcZggixWYwveXYbsUT7zpiRh w7HiuzZIS5H+ESj77nF3hnr6EiuQ4ObQG/QiRrXe/Y1hYBKl3LIzBXQZkSw22jC40/P3 TAfq/6KOE5e/vbuR2xnogWKYfmC8en5I0IiSHz4q5ZgpxQTr1sIkdGVMzIsOS/X5sl79 O5uoMhVGCx/LNjSWy/VtaeIq0HsvkeJBynrI+ekabsnGjD40Yym+l8htDyD2TNpdDYg6 +p/A== 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=UEY1Rt8wtyzCPM7WvVR/S1XzLkkf3c3PkpqwBZb83s4=; b=T7pHQTVCEkyjl3L/gw0P2uSaWgiQ2QyP7Gqvj4GCBbD5RUgeiaWm6np44b2EduWrrA DE0xoF5iZ5VdJZSiDMgpd07ydZKw+OUoBqyCIdYjRZ36U25bhMEITMSIGRxz4SCVRys1 JulM4K/+ROIdlrZOwjenVTPunnz619sJzL4tjQnvnLedLfvfDtM35fS49IYuuCGPeW0Y yzN4bY4iKrQZ47rw7u1ClvEZUsGV+VnRMioJdiFJGrWycZ7he5DCj04TkQS3JS4KGthl PPe+sPDCfW4NYZ5Qujq5gFFbzZdFjFfmd+FBUSJBS1J1umnT7f6FEAm8W3LUxpknUSQD NcKw== X-Gm-Message-State: ALQs6tAxD+nmVyRQYwnwEhkfsSzxeOERX14td5/k4QHa51PYslN2/Cdc h5fhDOtaIYrunEiFqvPdp98= X-Google-Smtp-Source: AIpwx4+HdMnUbnw8Zi4GWPhfjEW4cyydzRlrnb/dWK7L1aoMHz9vQQhLM8AXGTE3n+HG0XPVcPfn+g== X-Received: by 2002:a19:1a86:: with SMTP id a128-v6mr6160964lfa.80.1523548884173; Thu, 12 Apr 2018 09:01:24 -0700 (PDT) Received: from localhost.localdomain (207-17-94-178.pool.ukrtel.net. [178.94.17.207]) by smtp.gmail.com with ESMTPSA id m11sm644541ljh.37.2018.04.12.09.01.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Apr 2018 09:01:23 -0700 (PDT) From: Oleksandr Andrushchenko X-Google-Original-From: Oleksandr Andrushchenko To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Date: Thu, 12 Apr 2018 19:00:58 +0300 Message-Id: <20180412160102.15833-2-oleksandr_andrushchenko@epam.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180412160102.15833-1-oleksandr_andrushchenko@epam.com> References: <20180412160102.15833-1-oleksandr_andrushchenko@epam.com> Cc: jgross@suse.com, iurii.konovalenko@globallogic.com, konrad.wilk@oracle.com, tiwai@suse.de, oleksandr.dmytryshyn@globallogic.com, andr2000@gmail.com, boris.ostrovsky@oracle.com Subject: [alsa-devel] [PATCH 1/5] xen/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 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 --- include/xen/interface/io/sndif.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/xen/interface/io/sndif.h b/include/xen/interface/io/sndif.h index 5c918276835e..fc1752cf5a16 100644 --- a/include/xen/interface/io/sndif.h +++ b/include/xen/interface/io/sndif.h @@ -36,6 +36,13 @@ #include "ring.h" #include "../grant_table.h" +/* + ****************************************************************************** + * Protocol version + ****************************************************************************** + */ +#define XENSND_PROTOCOL_VERSION 1 + /* ****************************************************************************** * Feature and Parameter Negotiation