From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F372C432BE for ; Tue, 24 Aug 2021 08:17:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4707B6128A for ; Tue, 24 Aug 2021 08:17:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235253AbhHXISb (ORCPT ); Tue, 24 Aug 2021 04:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233692AbhHXISa (ORCPT ); Tue, 24 Aug 2021 04:18:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E2CC061757 for ; Tue, 24 Aug 2021 01:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ImUmcO0af3kzsZW1Ld4+nW0f5BAbHKMmEApQ27rV2lY=; b=Fqwu3ZlK0NpijjrWY8C+qyXyEc f/5cApx2u9H2QZRtnTlPa16iXT+Mpu1jwjG4t6wSXqcSzVqXzQZHjgApXJ0hA/aWMTH3ULXn7B4Va Uo4NOphj0DtbFyuZpS/unpCSVFQskxP1z6akby+gSxetGxwu6wYXht/9baPGCe6kLAF8GA34r4SZb oJxpqmVJ9q4oIOSsMnSDeCyTniV1dVhThDxl2Ibtr4c5pIU2itHcWs3k7d3kJx1G3FgRVSe5jBikB TN+iYp3uEuh6VCAGgqetahLPdk4GZZRnLYjDRaRaWF+wS3XngCDvrFPGbNLqDauAh8Z14S3N+HDgN SBoYVkjg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIRbA-00AlyL-FT; Tue, 24 Aug 2021 08:16:12 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5A247300252; Tue, 24 Aug 2021 10:15:54 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3D3E62023811A; Tue, 24 Aug 2021 10:15:54 +0200 (CEST) Date: Tue, 24 Aug 2021 10:15:54 +0200 From: Peter Zijlstra To: CGEL Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Jing Yangyang , Zeal Robot Subject: Re: [PATCH linux-next] kernel:fair: fix boolreturn.cocci warnings Message-ID: References: <20210824062359.59474-1-deng.changcheng@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210824062359.59474-1-deng.changcheng@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 11:23:59PM -0700, CGEL wrote: > From: Jing Yangyang > > ./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 > Signed-off-by: Jing Yangyang *sigh*, another stupid robot sending stupid patches.. /me goes create another mail filter...