From: David Miller Subject: Re: [PATCH 2/5] VSOCK: extract connect/accept functions from vsock_diag_test.c Date: Wed, 13 Dec 2017 16:32:58 -0500 (EST) Message-ID: <20171213.163258.1602423154155241312.davem@davemloft.net> References: <20171213144911.6428-1-stefanha@redhat.com> <20171213144911.6428-3-stefanha@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jhansen@vmware.com, decui@microsoft.com To: stefanha@redhat.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:45688 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753744AbdLMVdA (ORCPT ); Wed, 13 Dec 2017 16:33:00 -0500 In-Reply-To: <20171213144911.6428-3-stefanha@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Stefan Hajnoczi Date: Wed, 13 Dec 2017 14:49:08 +0000 > +#include > +#include "../../../include/uapi/linux/vm_sockets.h" > + ... > -#include "../../../include/uapi/linux/vm_sockets.h" > #include "../../../include/uapi/linux/vm_sockets_diag.h" This really should never be necessary. As part of the build, before tunning tests, one is required to do "make headers_install" and whether as root or a normal user, this will make the UAPI headers of the current kernel available to the build of the testcases. So please undo this weird relative include stuff. Thanks.