Messages in this thread | | | Date | Thu, 9 Jun 2022 10:48:44 +0200 | Subject | Re: [PATCH -next v2] spi: Return true/false (not 1/0) from bool function | From | Krzysztof Kozlowski <> |
| |
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 <yang.lee@linux.alibaba.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
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
| |