Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp475241iol; Thu, 9 Jun 2022 07:31:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ30HjBUOeGOZI4G6vtNSCCM5m0YBO/5dShr8m28dT3uZ+fx+MRbgTU2xz5LikNSLGCrW8 X-Received: by 2002:a17:907:c26:b0:711:ca03:ab3c with SMTP id ga38-20020a1709070c2600b00711ca03ab3cmr21383656ejc.654.1654785110991; Thu, 09 Jun 2022 07:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654785110; cv=none; d=google.com; s=arc-20160816; b=d6c8KFPFHfRmJVWDFE2gz26LQg3aSjjBOy/dmKCJwyieG7G52SdlRdiolK4RlzorHf 14rj//wEvQWN5saay3tZ5pREEpDztZkZ9Isxa5gKpIw4FI6YgbAHSoAA+5JYATnG/FUq 6nSLxHlMEQtii7aXyRzg9xLr/TkKS86AykgUFysLLOpOZ2ZYLzQw/ItY+IBrsfwXsLaM cZyW9spQSBfw9eHeYbk0BIQQvs/7Ir3vrYUfOzahIm1IO6ecClnnIOoEnykQ+aLAirEs ypMnc7PXjKiruQjcQ06JC89R+favJWbnf8o/7JCTamIvsi3hQuI37jpY7HyQFsT88Udw jYxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=OQBmkI8nmdhUK8GfdWsUdbCmBO4UcAA7Zmdab65azYc=; b=KFcHpc/BX6krzhDIKIoWDSLxWCO27QocOjpakd7ahe4o5Vcu8BO9loBgghRhW0YVpH ySOPSE+426iufCwkZe57JN0lH1Yc292QFomciQlRun3mDRJmm82B7hocvpXh+adalUPA 2XKc3l1q3uDsTL+rrPQXu5iyilsjl9BEGQDfZK5KIamYH/VOqwbTwcCSbybN4rfrm/H1 1M19N8z1RF4z3S/U8RaL5KZl436WudNwQ+tE4bvDieATbHpa8BzqCTxxjGDkYB1q9Pz1 A/axCCKveIamvyO5qZbyCqQVFNx6Gz2vz2wBs08qPUTXOLo3bxEYFlE+LViH/J5J0i05 Ma0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a1QKtQ3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt20-20020a1709072d9400b00711c832d377si5063234ejc.17.2022.06.09.07.31.20; Thu, 09 Jun 2022 07:31:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a1QKtQ3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240811AbiFION0 (ORCPT + 99 others); Thu, 9 Jun 2022 10:13:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238611AbiFIONY (ORCPT ); Thu, 9 Jun 2022 10:13:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDF44703E7; Thu, 9 Jun 2022 07:13:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D77C7B82DFE; Thu, 9 Jun 2022 14:13:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CB63C3411B; Thu, 9 Jun 2022 14:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654783998; bh=/Jb5puY1IwHHQl2pvtto5BvzvEL2zeQNG34C1ZK0RVs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=a1QKtQ3nr3lj0XZvJ7QXDxrIDq2RN1M2ZSfhWMpm0T4jjwCkL7hB6wCnqXucgyx5J DqThJeiD7o6u1/wNV3qxpNyMUUEdgWvtkVH7M6KKhrndUV3+hQcPqzJ/YCn9YY6BNr kIUo7CBEGZy5pEowLnj18uIV0KBTZ5rOpz2GLhGEA+4hRN4yv6A3H4WrZ770Eww291 OZus9PmoHC7hn+nQwJsyBAnFNorXmrzKbqeI03qHuHDC3MW2ugccVZPqM0IYXQfwI/ Hztzd7a+4clC9M9nuLTvCsfhp+QwzZELOwkyAZUARNgKuQfh6Z++VAazafm12Mtr3G xnsF5lSP4PsnQ== From: Mark Brown To: yang.lee@linux.alibaba.com, krzysztof.kozlowski@linaro.org Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, andi@etezian.org, alim.akhtar@samsung.com In-Reply-To: <20220609071250.59509-1-yang.lee@linux.alibaba.com> References: <20220609071250.59509-1-yang.lee@linux.alibaba.com> Subject: Re: [PATCH -next v2] spi: Return true/false (not 1/0) from bool function Message-Id: <165478399683.1092145.4129788000879075205.b4-ty@kernel.org> Date: Thu, 09 Jun 2022 15:13:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Jun 2022 15:12:50 +0800, Yang Li wrote: > Return boolean values ("true" or "false") instead of 1 or 0 from bool > function. > > As reported by coccicheck: > ./drivers/spi/spi-s3c64xx.c:385:9-10: WARNING: return of 0/1 in function > 's3c64xx_spi_can_dma' with return type bool > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: Return true/false (not 1/0) from bool function commit: 0356163e5883e298b518cd16517be633824987f9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark