Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp145957imm; Mon, 14 May 2018 22:47:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqABnFMVrIF2tJA6TGkUc1c6inuaUl7PMyt09GUJodVQ8lto/gmKXPveJaFFXjnjwTRznXc X-Received: by 2002:a65:508d:: with SMTP id r13-v6mr11142590pgp.134.1526363229038; Mon, 14 May 2018 22:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526363228; cv=none; d=google.com; s=arc-20160816; b=emxXt/z0K8jOPgLbbS0u5fDAno075kcE/F+dN2Pe1+unS+XGrYNeax9P9DhxLW0Y/z pwsgpANBVN09kS/bDb7VxNVpJMzTMn+TpGPBLn7R/f03IUSKReiUJAL5YCgvSTZLdIq4 LYQy7GYsRgn4MBES6blfHNJZZ0f+oBsGez63x3Wj0dGwpRP5vHXjf/HnkMapZFnKtZ+n C+Fk08Ug3als7BejSIDkPmKsyy4eNxchPEVkiItQvitKpfMvmrtbAANq7Do4hB8JnB66 U2NpqKgBpf5X9/zZ948GBZ6tURAuqQDYgO43lmwikw7N8oN32+97LXX+B4Mh1QjSpfpu 978g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=UcG6g5LUuF4Ko/E06vEBoYRhPm7YZHBAYyE31CQ92sE=; b=IKIGEHzTj3joepwnIJjwCzxacagsABXs4vypMN95zPKiRjFs7+sec/ITyKz/Rj2J7j CMZfW6uj8zk9ci8J2r6QyPpMkoNYKweoUZBBFVpkOxowxM/1fD5fO6gwTp1oJVn/Ssn5 7da8JWhrgJ9bBlF9YJX5qA36Y2yZhn/Kl+jI8k5k+AdxAAaCIfCLsoHatjwVrYeZO38p FRS16qbauNKU5sa4uRnd2+fmpeT03i3MRQfPRGG3sXGjuimaRtjl/haWX4QUmS43hqkM HG6ljjgVJsGlGsfTi6OQDserfXp1kN24Hi+lbqAr4IWXRrDMg8jZaRG1d3pds4PiIrJ/ bsLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kAxwGcw7; 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 d90-v6si7584080pld.92.2018.05.14.22.46.54; Mon, 14 May 2018 22:47:08 -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=kAxwGcw7; 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 S1752272AbeEOFqo (ORCPT + 99 others); Tue, 15 May 2018 01:46:44 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:40217 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbeEOFqm (ORCPT ); Tue, 15 May 2018 01:46:42 -0400 Received: by mail-lf0-f52.google.com with SMTP id p85-v6so21458825lfg.7 for ; Mon, 14 May 2018 22:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=UcG6g5LUuF4Ko/E06vEBoYRhPm7YZHBAYyE31CQ92sE=; b=kAxwGcw7fI3ZN5UsuusgqPmUAjS6CN8gG9U7fgl5mv4pzMgxLHs676iL6aKa7ktV0g PTLgZMrzMUQyViZ1F5kfIAlaFs2x03/GuM7jT8orkz3IUJnONMgIoWMJQyWoRJh7XF94 tbHWSWbF3ec+sFgGQqNTdxrOXdHQkW/hPDAtCJ4KfG5+54uL1p+oxrPGhMT7iCgTBeBd X6nKaiB1Ldfkfsrv6zODELdVsTwdkQBqT1YaGIQtit8LdJXnQYldAQjDnsINVrWtYzoh dBvwRMX+R4VxB2deCLJVsoDnEp6y2Xny1HLmUKCcEgDdowH+y/+7arPn48yxhS7a+xd+ Zirg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=UcG6g5LUuF4Ko/E06vEBoYRhPm7YZHBAYyE31CQ92sE=; b=Ez5c2D8LJCCRC1nm4LbkEXc5mftGPzx8LRplWc6pNboFj84+4S6BjcpyxF4HikYYnI sarIwBcEYlIg+oG6N85nfDmSAZoD9az0NEE1im0Wu3lYSio2qRER7R1D6XxRYQaxNd5o Bw6qCFnRXaRRMH4iauc9ORtRcu1faIa7xAdj4QDMZaM98aZZcK7wubGupT6ELFQVbM1o zD94DAdb4I7itxcIICt3j5bibFDV+qVFfub8cgL8FMCYsmcgR+PbDuCqCRp0r7raBXtl ANF/L5i7oX0wqbhGjJ79Vl5I7jo5tBGSOTtj4abYAFHrJlouEppT4hQ6e44G5KJrZFk7 n7Eg== X-Gm-Message-State: ALKqPwdOfT9ivuyIWbXGDVXSHPfPiYa+h4B0c1L9DOjp117uPlsacAMj /hpGp4k3d9FU/m1B2gKeF2gkJgn9 X-Received: by 2002:a19:4f4c:: with SMTP id a12-v6mr10408059lfk.97.1526363200818; Mon, 14 May 2018 22:46:40 -0700 (PDT) Received: from [10.17.182.9] (ll-54.209.223.85.sovam.net.ua. [85.223.209.54]) by smtp.gmail.com with ESMTPSA id t19-v6sm2079028ljj.46.2018.05.14.22.46.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 May 2018 22:46:39 -0700 (PDT) Subject: Re: [PATCH v3 4/6] ALSA: xen-front: Implement handling of shared buffers To: Takashi Iwai , "Oleksandr_Andrushchenko@epam.com" Cc: alsa-devel@alsa-project.org, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, perex@perex.cz, Juergen Gross , linux-kernel@vger.kernel.org References: <20180514062742.25879-1-andr2000@gmail.com> <20180514062742.25879-5-andr2000@gmail.com> From: Oleksandr Andrushchenko Message-ID: Date: Tue, 15 May 2018 08:46:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2018 11:28 PM, Takashi Iwai wrote: > On Mon, 14 May 2018 08:27:40 +0200, > Oleksandr Andrushchenko wrote: >> --- /dev/null >> +++ b/sound/xen/xen_snd_front_shbuf.c >> @@ -0,0 +1,193 @@ >> +// SPDX-License-Identifier: GPL-2.0 OR MIT >> + >> +/* >> + * Xen para-virtual sound device >> + * >> + * Copyright (C) 2016-2018 EPAM Systems Inc. >> + * >> + * Author: Oleksandr Andrushchenko >> + */ >> + >> +#include >> +#include >> + >> +#include "xen_snd_front_shbuf.h" > Hm, with the local build test, I get the following error: > > CC [M] sound/xen/xen_snd_front_shbuf.o > In file included from sound/xen/xen_snd_front_shbuf.c:11:0: > ./include/xen/xen.h:18:8: error: unknown type name ‘bool’ > extern bool xen_pvh; > ^~~~ > In file included from ./include/xen/interface/xen.h:30:0, > from ./include/xen/xen.h:29, > from sound/xen/xen_snd_front_shbuf.c:11: > ./arch/x86/include/asm/xen/interface.h:92:21: error: unknown type name ‘uint64_t’ > DEFINE_GUEST_HANDLE(uint64_t); > ^ > > Adding #include fixed the issue. > > Did you really test your patches with the latest Linus tree? My bad, it does build for ARM (which is my target), but also does need "#include " for x86 which I didn't build this time. Sorry about that. Do you want me to resend this single patch or you can make the change while applying? > > > thanks, > > Takashi Thank you, Oleksandr