Re: ssb: return boolean instead of integer in ssb_dma_translation_special_bit

From: Kalle Valo
Date: Tue Feb 27 2018 - 11:14:55 EST


"Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx> wrote:

> Return statements in functions returning bool should use
> true/false instead of 1/0.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

bd42cd022e44 ssb: return boolean instead of integer in ssb_dma_translation_special_bit

--
https://patchwork.kernel.org/patch/10174387/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches