Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp880703imm; Mon, 9 Jul 2018 12:23:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdI1itggJAjzhEIXyKjYc033LQEK4QkRBL8Zitk61c6AdqnPtfgjhMyB3FOnODvQP3KtE8U X-Received: by 2002:a62:d10b:: with SMTP id z11-v6mr22585578pfg.255.1531164211733; Mon, 09 Jul 2018 12:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531164211; cv=none; d=google.com; s=arc-20160816; b=xgyXxHveXGMrHt+tH6O1DM/ySLM5G6pAo77ZzS5tD8T7A0f/wBbd9mzTCWTBlaTNsy +Q7z+97HED8BpGRISAEZzUMJKTYS7Vqfsnn8A0L2wXb4JCluDTDOlrmfp7y4/qJsG7Pt imU6ymIYWJcOdzVSzeDfWpuAtirzEOaQmWnRndLrrYbtnFsLjBFelbXAiHBoGtFWh6fs 05LTEiPiontS98LrzSTge21LmEO9vp7oKCmpCWKFrgkI+TuURe0peKdM+6+XwjdMGJNg qglqqxiksC4KVj5gw8QkY9cdMSbAaQ3pK6XeBAN/YF6EHasslfk/HPHGRkHBESQOT9XE RP+w== 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=NC/5/0ZWlbHv8nj7/wljitqCi4H6RGUNronpdK31x4waeJcyhKyIj4TA1V0itxjY1h hywG6pK2OC2wol6/wuX6UV9C6PyLN+lS1GSKmInaTAOeSZKXAGWSz/N+xBgpHObIqrY4 MRtK78lZsgm5owdHvRBkQL52tezL8dVo0fCtP+UxAuHYP1b3GmVQdLEAN/u+Ek0nRweT hNfxzf+/BHlH5AldwGSO7M6dDerDQlntO68PnbHy7ujdCzmlkaf1PuZcWypBzS8gEIwc a2gYAbOOtqwumx6lJk8Fr2SgIpraRf9AImIIbPfojRWsGBDkANpzsur63wJndVhmYtLP eA5Q== 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 y71-v6si14162649pgd.223.2018.07.09.12.23.17; Mon, 09 Jul 2018 12:23:31 -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 S1754688AbeGITWO (ORCPT + 99 others); Mon, 9 Jul 2018 15:22:14 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.164]:33680 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754517AbeGITWN (ORCPT ); Mon, 9 Jul 2018 15:22:13 -0400 X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9zT8DNpa83PTIZWPiCo8pBBUrGD6hVxbvqydRGWvSUGBkHi/ixykK" X-RZG-CLASS-ID: mo00 Received: from positron.chronox.de by smtp.strato.de (RZmta 43.12 AUTH) with ESMTPSA id t07687u69JLsb3T (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Mon, 9 Jul 2018 21:21:54 +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 21:21:53 +0200 Message-ID: <1632268.WSg4zQ7CbY@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