[Patch] [testing][wireguard] Remove unneeded version.h include pointed out by 'make versioncheck'

Jesper Juhl posted 1 patch 2 years, 6 months ago
There is a newer version of this series
tools/testing/selftests/wireguard/qemu/init.c | 1 -
1 file changed, 1 deletion(-)
[Patch] [testing][wireguard] Remove unneeded version.h include pointed out by 'make versioncheck'
Posted by Jesper Juhl 2 years, 6 months ago
From e2fa4955c676960d0809e4afe8273075c94451c9 Mon Sep 17 00:00:00 2001
From: Jesper Juhl <jesperjuhl76@gmail.com>
Date: Mon, 13 Feb 2023 02:58:36 +0100
Subject: [PATCH 06/12] [testing][wireguard] Remove unneeded version.h include
  pointed out by 'make versioncheck'

Signed-off-by: Jesper Juhl <jesperjuhl76@gmail.com>
---
  tools/testing/selftests/wireguard/qemu/init.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c
index 3e49924dd77e..20d8d3192f75 100644
--- a/tools/testing/selftests/wireguard/qemu/init.c
+++ b/tools/testing/selftests/wireguard/qemu/init.c
@@ -24,7 +24,6 @@
  #include <sys/sysmacros.h>
  #include <sys/random.h>
  #include <linux/random.h>
-#include <linux/version.h>

  __attribute__((noreturn)) static void poweroff(void)
  {
-- 
2.39.2
Re: [Patch] [testing][wireguard] Remove unneeded version.h include pointed out by 'make versioncheck'
Posted by Jason A. Donenfeld 2 years, 6 months ago
No idea if this is something intended for me to apply or if it's an
automated email. Fix the formatting, resend, and then maybe I'll apply
it?
Re: [Patch] [testing][wireguard] Remove unneeded version.h include pointed out by 'make versioncheck'
Posted by Alexander Lobakin 2 years, 6 months ago
From: Jesper Juhl <jesperjuhl76@gmail.com>
Date: Thu, 16 Feb 2023 02:01:05 +0100 (CET)

>> From e2fa4955c676960d0809e4afe8273075c94451c9 Mon Sep 17 00:00:00 2001
> From: Jesper Juhl <jesperjuhl76@gmail.com>
> Date: Mon, 13 Feb 2023 02:58:36 +0100
> Subject: [PATCH 06/12] [testing][wireguard] Remove unneeded version.h
> include
>  pointed out by 'make versioncheck'

Your patch is broken, pls resend.
Also I've no idea about the subject/prefix, shouldn't it be like:

[PATCH net-next] wireguard: selftests: remove unneeded version.h

?

> 
> Signed-off-by: Jesper Juhl <jesperjuhl76@gmail.com>
> ---
>  tools/testing/selftests/wireguard/qemu/init.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/wireguard/qemu/init.c
> b/tools/testing/selftests/wireguard/qemu/init.c
> index 3e49924dd77e..20d8d3192f75 100644
> --- a/tools/testing/selftests/wireguard/qemu/init.c
> +++ b/tools/testing/selftests/wireguard/qemu/init.c
> @@ -24,7 +24,6 @@
>  #include <sys/sysmacros.h>
>  #include <sys/random.h>
>  #include <linux/random.h>
> -#include <linux/version.h>
> 
>  __attribute__((noreturn)) static void poweroff(void)
>  {

Thanks,
Olek