[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <164371836390.16633.773589948034456813.kvalo@kernel.org>
Date: Tue, 1 Feb 2022 12:26:05 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: davidcomponentone@...il.com
Cc: m@...s.ch, davidcomponentone@...il.com,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Guang <yang.guang5@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] ssb: fix boolreturn.cocci warning
davidcomponentone@...il.com wrote:
> From: Yang Guang <yang.guang5@....com.cn>
>
> The coccinelle report
> ./include/linux/ssb/ssb_driver_gige.h:98:8-9:
> WARNING: return of 0/1 in function
> 'ssb_gige_must_flush_posted_writes' with return type bool
>
> Return statements in functions returning bool should use true/false
> instead of 1/0.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Yang Guang <yang.guang5@....com.cn>
> Signed-off-by: David Yang <davidcomponentone@...il.com>
Patch applied to wireless-next.git, thanks.
6d3ac94bae21 ssb: fix boolreturn.cocci warning
--
https://patchwork.kernel.org/project/linux-wireless/patch/fa4f1fa737e715eb62a85229ac5f12bae21145cf.1642065490.git.davidcomponentone@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists