[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZpSo6CrDiQZ40Ysm@slm.duckdns.org>
Date: Sun, 14 Jul 2024 18:43:20 -1000
From: Tejun Heo <tj@...nel.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: void@...ifault.com, mingo@...hat.com, peterz@...radead.org,
juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, vschneid@...hat.com, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] sched_ext: Fixes incorrect type in bpf_scx_init()
On Mon, Jul 15, 2024 at 10:10:26AM +0800, Jiapeng Chong wrote:
> The type_id is defined as u32type, if(type_id<0) is invalid, hence
> modified its type to s32.
>
> ./kernel/sched/ext.c:4958:5-12: WARNING: Unsigned expression compared with zero: type_id < 0.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9523
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Applied to sched_ext/for-6.11.
Thanks.
--
tejun
Powered by blists - more mailing lists