lkml.org 
[lkml]   [2021]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH linux-next] kernel:fair: fix boolreturn.cocci warnings
On Mon, Aug 23, 2021 at 11:23:59PM -0700, CGEL wrote:
> From: Jing Yangyang <jing.yangyang@zte.com.cn>
>
> ./kernel/sched/fair.c:9638:9-10:WARNING: return of 0/1 in function
> 'imbalanced_active_balance' with return type bool
>
> Return statements in functions returning bool should use true/false
> instead of 1/0.
>
> Generated by: scripts/coccinelle/misc/boolreturn.cocci
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Jing Yangyang <jing.yangyang@zte.com.cn>

*sigh*, another stupid robot sending stupid patches..

/me goes create another mail filter...

\
 
 \ /
  Last update: 2021-08-24 10:19    [W:0.035 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site