lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ae0ffde483285da96a78ef937580aaf5023e6304.1706992837.git.christophe.jaillet@wanadoo.fr>
Date: Sat,  3 Feb 2024 21:41:19 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org,
	Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: [PATCH] group_cpus: Remove #include <linux/kernel.h>

There is no need to include <linux/kernel.h> here, so remove it.

All files that include <linux/group_cpus.h> also already include
<linux/kernel.h>, so this can't break anything.

These files are:
$ git grep group_cpus\\.h
MAINTAINERS:F:  include/linux/group_cpus.h
block/blk-mq-cpumap.c:#include <linux/group_cpus.h>
drivers/virtio/virtio_vdpa.c:#include <linux/group_cpus.h>
kernel/irq/affinity.c:#include <linux/group_cpus.h>
lib/group_cpus.c:#include <linux/group_cpus.h>
---
 include/linux/group_cpus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/group_cpus.h b/include/linux/group_cpus.h
index e42807ec61f6..ecc4708dc468 100644
--- a/include/linux/group_cpus.h
+++ b/include/linux/group_cpus.h
@@ -6,7 +6,7 @@
 
 #ifndef __LINUX_GROUP_CPUS_H
 #define __LINUX_GROUP_CPUS_H
-#include <linux/kernel.h>
+
 #include <linux/cpu.h>
 
 struct cpumask *group_cpus_evenly(unsigned int numgrps);
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ