lkml.org 
[lkml]   [2023]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] sched/topology: remove duplicate include header in topology.c
Date
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

\
 
 \ /
  Last update: 2023-03-27 00:24    [W:0.033 / U:2.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site