Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp781501imm; Mon, 9 Jul 2018 10:30:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcG0Ts1UhoN83wKbt+1J88tIQBO54tbkAn9BteGlx+1HfItrPMaVNYKVnTPA20aERa9yFJs X-Received: by 2002:a17:902:528a:: with SMTP id a10-v6mr21292985pli.73.1531157400915; Mon, 09 Jul 2018 10:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531157400; cv=none; d=google.com; s=arc-20160816; b=OwDSiiRXT9Fio4gZ4YXa9xj02LE/md023aKq29n0+7CGrIX/eotLMSBRLY7VROKLfS nG9/ZGLEbtXwOCnTnqMBjjKt5Uu82IynE+7GVKJuiu00BoePKzogVJxJE9tZbsgAidEH gfDBKRfNFinI92maib0Sw51FQaWz+VbfixgKLedKHHeFiyIlmr2ZKFpbYc8r9KxTnmgj JZXXkC/pkCvZh/7VSvn9DYv/bzraqwq97DtqaLBo/5pYX3JERGWC9n1e5zRmlAchLyC/ E0rvCF5To8MzPGizolLEmlgTqnpqKI+//DBY/6y1ZsPmAPoA8LUV1j3b8ekUz6LHr3Ay 8YzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lnIHlhr9kFOmP1AuxAG6z2MRYC23JKCNvfplEqyqFtI=; b=RdDvNJu31BihH+O1RoKbdETucRUC5S5E3kM6g647ZY/dvbUc87iB43fC8yn61SsqVT 8B2uf3IUaFIKyn1YrinPiEF7ZVkoUvNRT5Z2ECMn/ivSwsFNj/04IQ54INDz8S8XVjwa XM5KoCDuoHUabigjp7cWxcIOd0ijekbiF8Bzlfa1PfXezF6jXPs2CTZe9ehm0n/WNbhT eQhN5YNhqrid6DYH19d6ZtFBoFLSV5pfcNTZXyOC2stYcp3CiMYttLTElFkNLpTd1viI rzzLN6LDBZLwHOE8qeB9NJ+/t1IXiR2SamVJLUHMVdICUHAGo2f3LNYXLiCk3Lo5zcc6 Pcvw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61-v6si14805548plb.499.2018.07.09.10.29.46; Mon, 09 Jul 2018 10:30:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933883AbeGIR1n (ORCPT + 99 others); Mon, 9 Jul 2018 13:27:43 -0400 Received: from [92.117.122.195] ([92.117.122.195]:53700 "EHLO mail.eperm.de" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933819AbeGIR1m (ORCPT ); Mon, 9 Jul 2018 13:27:42 -0400 X-Greylist: delayed 455 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Jul 2018 13:27:41 EDT Received: from positron.chronox.de (tmo-101-88.customers.d1-online.com [80.187.101.88]) by mail.eperm.de (Postfix) with ESMTPA id DEB6A2A0037; Mon, 9 Jul 2018 19:20:04 +0200 (CEST) From: Stephan =?ISO-8859-1?Q?M=FCller?= To: Christoph Hellwig Cc: Adrian Reber , viro@zeniv.linux.org.uk, Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Mosnacek Subject: Re: [PATCH 7/7] aio: implement io_pgetevents Date: Mon, 09 Jul 2018 19:20:03 +0200 Message-ID: <4315456.xLu0sxa9ll@positron.chronox.de> In-Reply-To: <20180708204359.GA19198@lst.de> References: <20180502211448.18276-1-hch@lst.de> <20180704142116.GM17048@lisas.de> <20180708204359.GA19198@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Sonntag, 8. Juli 2018, 22:44:00 CEST schrieb Christoph Hellwig: Hi Christoph, > > diff --git a/include/uapi/linux/aio_abi.h b/include/uapi/linux/aio_abi.h > index 75846164290e..b7705ad66d78 100644 > --- a/include/uapi/linux/aio_abi.h > +++ b/include/uapi/linux/aio_abi.h > @@ -29,7 +29,11 @@ > > #include > #include > +#ifdef __KERNEL__ > #include > +#else > +#include > +#endif > #include Without such a patch, libkcapi fails to compile as well. See [1]. Apart from your suggested patch above, do you have another suggestion how make the user space code compile? [1] https://github.com/smuellerDD/libkcapi/issues/59 Thanks Stephan