* [PATCH] sched/topology: remove duplicate include header in topology.c
@ 2023-02-09 7:12 ye.xingchen
2023-02-15 18:16 ` Valentin Schneider
0 siblings, 1 reply; 2+ messages in thread
From: ye.xingchen @ 2023-02-09 7:12 UTC (permalink / raw
To: mingo
Cc: peterz, juri.lelli, vincent.guittot, dietmar.eggemann, rostedt,
bsegall, mgorman, bristot, vschneid, linux-kernel
From: Ye Xingchen <ye.xingchen@zte.com.cn>
linux/bsearch.h is included more than once.
Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
---
kernel/sched/topology.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index ebc8cbeb55dc..eb339751fe90 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -1766,7 +1766,6 @@ bool find_numa_distance(int distance)
* there is an intermediary node C, which is < N hops away from both
* nodes A and B, the system is a glueless mesh.
*/
-#include <linux/bsearch.h>
static void init_numa_topology_type(int offline_node)
{
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sched/topology: remove duplicate include header in topology.c
2023-02-09 7:12 [PATCH] sched/topology: remove duplicate include header in topology.c ye.xingchen
@ 2023-02-15 18:16 ` Valentin Schneider
0 siblings, 0 replies; 2+ messages in thread
From: Valentin Schneider @ 2023-02-15 18:16 UTC (permalink / raw
To: ye.xingchen, mingo
Cc: peterz, juri.lelli, vincent.guittot, dietmar.eggemann, rostedt,
bsegall, mgorman, bristot, linux-kernel
On 09/02/23 15:12, ye.xingchen@zte.com.cn wrote:
> From: Ye Xingchen <ye.xingchen@zte.com.cn>
>
> linux/bsearch.h is included more than once.
>
> Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
> ---
> kernel/sched/topology.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
> index ebc8cbeb55dc..eb339751fe90 100644
> --- a/kernel/sched/topology.c
> +++ b/kernel/sched/topology.c
> @@ -1766,7 +1766,6 @@ bool find_numa_distance(int distance)
> * there is an intermediary node C, which is < N hops away from both
> * nodes A and B, the system is a glueless mesh.
> */
> -#include <linux/bsearch.h>
>
This doesn't exist upstream, and I can't find any proof of it ever existing
in the git history, so I don't think you're working on an upstream tree.
> static void init_numa_topology_type(int offline_node)
> {
> --
> 2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-15 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 7:12 [PATCH] sched/topology: remove duplicate include header in topology.c ye.xingchen
2023-02-15 18:16 ` Valentin Schneider
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 read-only IMAP folder(s) and NNTP newsgroup(s).