Skip to contentSkip to conversation

Remove unneeded version.h include pointed out by 'make versioncheck'

PATCH In review Jesper Juhl 3 participants 3 messages Feb 16, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unneeded version.h include pointed out by 'make versioncheck'

From e2fa4955c676960d0809e4afe8273075c94451c9 Mon Sep 17 00:00:00 2001
From: Jesper Juhl <[email protected]>
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'

---
 tools/testing/selftests/wireguard/qemu/init.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/wireguard/qemu/init.c +0 -1
index 3e49924dd77e..20d8d3192f75 100644
@@ -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)
 {
Signature · 1 line
2.39.2
#1 lore raw

From: Jesper Juhl <[email protected]>
Date: Thu, 16 Feb 2023 02:01:05 +0100 (CET)

Quoted 6 lines
Quoted 1 line

From e2fa4955c676960d0809e4afe8273075c94451c9 Mon Sep 17 00:00:00 2001

From: Jesper Juhl <[email protected]>
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

?

Quoted 12 lines

---
 tools/testing/selftests/wireguard/qemu/init.c | 1 -

 1 file changed, 1 deletion(-)
tools/testing/selftests/wireguard/qemu/init.c +0 -0
index 3e49924dd77e..20d8d3192f75 100644

tools/testing/selftests/wireguard/qemu/init.c line 29

Quoted 7 lines
tools/testing/selftests/wireguard/qemu/init.c +0 -1
@@ -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