2019-01-14 12:20:23

by Sabyasachi Gupta

[permalink] [raw]
Subject: [PATCH] tools/testing/selftests/x86/unwind_vdso.c: Remove duplicate header

Remove sys/ucontext.h which is included more than once.

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
tools/testing/selftests/x86/unwind_vdso.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/x86/unwind_vdso.c b/tools/testing/selftests/x86/unwind_vdso.c
index 00a26a8..9731133 100644
--- a/tools/testing/selftests/x86/unwind_vdso.c
+++ b/tools/testing/selftests/x86/unwind_vdso.c
@@ -44,7 +44,6 @@ int main()
#include <stdbool.h>
#include <sys/ptrace.h>
#include <sys/user.h>
-#include <sys/ucontext.h>
#include <link.h>
#include <sys/auxv.h>
#include <dlfcn.h>
--
2.7.4



2019-01-15 01:48:26

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] tools/testing/selftests/x86/unwind_vdso.c: Remove duplicate header

On 1/14/19 5:18 AM, Sabyasachi Gupta wrote:
> Remove sys/ucontext.h which is included more than once.
>
> Signed-off-by: Sabyasachi Gupta <[email protected]>
> ---
> tools/testing/selftests/x86/unwind_vdso.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/x86/unwind_vdso.c b/tools/testing/selftests/x86/unwind_vdso.c
> index 00a26a8..9731133 100644
> --- a/tools/testing/selftests/x86/unwind_vdso.c
> +++ b/tools/testing/selftests/x86/unwind_vdso.c
> @@ -44,7 +44,6 @@ int main()
> #include <stdbool.h>
> #include <sys/ptrace.h>
> #include <sys/user.h>
> -#include <sys/ucontext.h>
> #include <link.h>
> #include <sys/auxv.h>
> #include <dlfcn.h>
>

Thanks for the patch. I will pull this in for 5.1-rc1

thanks,
-- Shuah