linux-sgx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Christopherson <sean.j.christopherson@intel.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: linux-sgx@vger.kernel.org
Subject: [PATCH for_v25 4/4] selftests/x86: Remove redundant kernel include
Date: Fri, 20 Dec 2019 14:55:01 -0800	[thread overview]
Message-ID: <20191220225501.23476-5-sean.j.christopherson@intel.com> (raw)
In-Reply-To: <20191220225501.23476-1-sean.j.christopherson@intel.com>

The SGX selftests incorporate any and all necessary kernel includes in
defines.h, remove redundant includes from main.c so that the obnoxiously
long paths don't need to be updated if the kernel files are renamed.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
---
 tools/testing/selftests/x86/sgx/main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/x86/sgx/main.c b/tools/testing/selftests/x86/sgx/main.c
index a94ba894b020..d97cc3cf0093 100644
--- a/tools/testing/selftests/x86/sgx/main.c
+++ b/tools/testing/selftests/x86/sgx/main.c
@@ -16,8 +16,6 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include "defines.h"
-#include "../../../../../arch/x86/kernel/cpu/sgx/arch.h"
-#include "../../../../../arch/x86/include/uapi/asm/sgx.h"
 #include "sgx_call.h"
 
 #define PAGE_SIZE  4096
-- 
2.24.1


  parent reply	other threads:[~2019-12-20 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 22:54 [PATCH for_v25 0/4] selftests/x86: x86/sgx: Minor selftest cleanup Sean Christopherson
2019-12-20 22:54 ` [PATCH for_v25 1/4] selftests/x86: Fix INCLUDES definition in SGX Makefile Sean Christopherson
2019-12-20 22:54 ` [PATCH for_v25 2/4] x86/sgx: Add missing linux/bits.h include in sgx/arch.h Sean Christopherson
2019-12-20 22:55 ` [PATCH for_v25 3/4] selftests/x86: Add .gitignore for SGX selftest Sean Christopherson
2019-12-20 22:55 ` Sean Christopherson [this message]
2020-01-02 16:49 ` [PATCH for_v25 0/4] selftests/x86: x86/sgx: Minor selftest cleanup Jarkko Sakkinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191220225501.23476-5-sean.j.christopherson@intel.com \
    --to=sean.j.christopherson@intel.com \
    --cc=jarkko.sakkinen@linux.intel.com \
    --cc=linux-sgx@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).