Received: by 10.192.165.156 with SMTP id m28csp2132531imm; Thu, 12 Apr 2018 09:06:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Vd8J2JS9kTzlE1Z19I7rILq3kRoIOSL+DwhyKfmR2/m5I1CxtP5EdlLo/UDvXbvaPAhfa X-Received: by 10.98.159.129 with SMTP id v1mr8040876pfk.25.1523549184231; Thu, 12 Apr 2018 09:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523549184; cv=none; d=google.com; s=arc-20160816; b=bwV8QwzDxJL2VkvzBdaj65e4wzwOvLGvn5BIvLESjhd0ctVMQOhpG2rV0Zue44ZMb7 WFkkqYU7h8V1PU2ZuhWAl3shYluUwY6hY+tyc0Jjws0vhkNufvCMhQ89LY5zMyOtvzZE Eysq5D7RUuaWoz9pHFUGcXX7d+ze9NrMbdv+jIBRLIgTxOqX6twpCljAVwSJCUGY3mV1 2aeJEZ4vKjKnGVHHyUF15DMFFD4mDbx3w4MQznskwhtcdlSvT6W3kaVg/m0w8x1WyKUt VVWEFhN1y641VyREb86h5m8t+AY+jB9SdXEr3eEwhMT83mJTj7x1GCbAE+j2hyMgu52g btfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=UEY1Rt8wtyzCPM7WvVR/S1XzLkkf3c3PkpqwBZb83s4=; b=BxAVE0xyF7qVfhD+NKWwPsDFwec/P7l8jb0SvGKTeA9a1Dsl/5QIspFLoZyzbvIH0z uMOKqhfo5w7TAffwXqhEsVtA7r7smuOTxema/Z5ZTJWpupLmKWKPtz41SYijPuEpYIk1 FI0jclh+NApSSR+AM06501G9uZUe2l1mVXCe2zdlLf/HUNGKok/e/qJWlyENG/xPkyJo REYlgqcYSgphHkiQvlfDcmJtYr5czfLC4IIWi2ShhP8psPJ9paV7dnG6iKvYtXJjhIMt 0r3iVxD4vtJ0gkjirftqNeKC6LdyRTHnDN6NMO8xzqWMpuXFYny9lY5yRe0Ef1PUN46y zSmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JS3aQaSY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71-v6si3554524pla.707.2018.04.12.09.05.47; Thu, 12 Apr 2018 09:06:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JS3aQaSY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752793AbeDLQBa (ORCPT + 99 others); Thu, 12 Apr 2018 12:01:30 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:42368 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeDLQB0 (ORCPT ); Thu, 12 Apr 2018 12:01:26 -0400 Received: by mail-lf0-f65.google.com with SMTP id q9-v6so8465676lfk.9 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=hRdqq5v5iLiZEtVawtG31+tdxP6nWWncA5cuATfdXzfX7G2dvAHnm/xjAYqJnydwL1 B8anseROp37TENFAxhjWeNVk20mIntsnQBmQMPr8sQL0oNGenv6SMx9mCZ7K21js65Zd SshyfxGhIRjV8D5o97RNcQNAPMrz98siae/qX/WUTxWafLr62jSq9ubxhPwPZuNJIPj0 NH76jnfQKUN929aAcjmCTKnQNhcaa7c+rBj3GZSMhcuk+df3SSu3lkZaB2Tk5oZBQW30 V5gK/t4kDh0YYggIzE5ER0b/1W3P8pjAgkQXFWD419LreXJv31tAolE1mpJo9THIYpN6 Ocgg== X-Gm-Message-State: ALQs6tAh/koCMduwsF1axekL9yN4W2oGfvgcHMHWpL9zecpNEQ0lo3eF yASSHvELy0UVBm1sLfmgA5oUiw== 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 Cc: boris.ostrovsky@oracle.com, jgross@suse.com, iurii.konovalenko@globallogic.com, oleksandr.dmytryshyn@globallogic.com, konrad.wilk@oracle.com, tiwai@suse.de, andr2000@gmail.com Subject: [PATCH 1/5] xen/sndif: Introduce protocol version 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.0