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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2179C43334 for ; Thu, 9 Jun 2022 09:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oEZBRW1IU0cAZXFma3Wof4hYAMHc2AZ4AT7gii+iS5E=; b=eX+hK7311UcvGb uMqRoDYh3axvNJXXrjn8dCc0rxp8Q7uKGnZZrWMgGgF4GgYP5HXzy9EfwqR+zW7Uo/MfNzysKtUGE q58ZcHILhhqrC/EW+Yse/TBhxwedKmFSLOhJ6StZ6ST1dUBNKkXkFmyvVoA4o1WREIjd7w9gbi2/1 YX1ysTkwS/BFWcYUuAfD2vIptFRs77XOhZYTmUjPBzNvRRhr+/sVHS0H/nueQkUeP1wQPOAKYnKCx qOsUZzVI4nTM/X2WQ7ijmlHFCSnKIeAwH+bNwqUpS4d+IJD2VRBSKEg25xyxSuGvL9dVgK3K400hj r6f+l+x2cZtw1BX9Jc/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzE1l-000UBi-9J; Thu, 09 Jun 2022 09:00:29 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzDqU-000Nuf-2v for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 08:48:53 +0000 Received: by mail-ej1-x635.google.com with SMTP id o7so12790549eja.1 for ; Thu, 09 Jun 2022 01:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=0FrUfxGjJdLOSXTrxUdjkVL6nrlzjO3+JUo/vnRLcSA=; b=KMK4oI5Fxe0qAHQkJ9CRo4IKa3GThd6bcTMU9rPxWbxZqBQFMskPd+ihFJHP4JcnZ3 XmY244lJqm4jhVPAye8YmfOGsXd/Bvvxjp0Fv9phkeVEFmoa81HLkTohIxs6I62s2ehf GHtq8jUZKG3ijDVptmfLjIlJWIMxE0PgMbMlQLjQJjgwSfsxXoIKXDNU2nSLpAHJx89S 0o7tM13z5DXSV/8hRHefRz56S5a2PyGLBn7q/ETGU40Ym5n0UH7P1vHnbfcvJtT4++6o 5C8rLdB+EO/p9c2aw6/9lyHwuY7Bu/V4QDKR92OXSqeOnii9+OajsSWAZbWuo0mdkoMQ U/rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=0FrUfxGjJdLOSXTrxUdjkVL6nrlzjO3+JUo/vnRLcSA=; b=UAW7PNQ0fi86VA66eT3Z+nmIGtEQ84CoMf9KFMnMUMlO7IdfkXkVC3lIvxWCU3K4vg l3MFTc4xz8WrkvRMZlP6foPwWbPkq1qLHw0iw8Qcp7RUtYZRE+cNfECWuv/TIL1DGGaE 2l6kuSXtMA/6hRX1OGbREkcm1izi7fs0SLJr422WZueRFiA+sc5JvrSiBRkl3djHtEZg cdJa2k6MqnSVELtGlWeijIDGR9CtbpjkwHrYVhMc7dltnRMSnGXmU8OdScYtKXNFeznG SyJ4hQUY87+Pnm8IJ7wk13IFCNsdkMi1OHsNUfVlJgNkxb/2lRwocsTv2xrK81NPjqtP nOZw== X-Gm-Message-State: AOAM532cDd1/U9C8DKF3LBoJvTjVHUO8eo1la+wqMMEObeXEtDivNECe GuZv84hTCWP68Kb61bx71nwdhg== X-Google-Smtp-Source: ABdhPJy8eOac2SjmBWPxOPqIBIeeBstXz50bOn/9Q8cluK6jx974GoDpH/JlagK8BogFTdJyDpkODw== X-Received: by 2002:a17:907:94c8:b0:711:d864:fd84 with SMTP id dn8-20020a17090794c800b00711d864fd84mr15226830ejc.18.1654764526284; Thu, 09 Jun 2022 01:48:46 -0700 (PDT) Received: from [192.168.0.195] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y24-20020a170906071800b006feed200464sm10407049ejb.131.2022.06.09.01.48.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 01:48:45 -0700 (PDT) Message-ID: Date: Thu, 9 Jun 2022 10:48:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH -next v2] spi: Return true/false (not 1/0) from bool function Content-Language: en-US To: Yang Li Cc: andi@etezian.org, broonie@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220609071250.59509-1-yang.lee@linux.alibaba.com> From: Krzysztof Kozlowski In-Reply-To: <20220609071250.59509-1-yang.lee@linux.alibaba.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_014850_276653_C61B8F3E X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/06/2022 09:12, 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 > > Signed-off-by: Yang Li Reviewed-by: Krzysztof Kozlowski Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 If a tag was not added on purpose, please state why and what changed. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel