Re: [PATCH] regmap: Assign boolean values to a bool variable

2021-01-21 Thread Mark Brown
On Thu, 21 Jan 2021 15:59:21 +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./drivers/base/regmap/regcache.c:71:3-18: WARNING: Assignment of > 0/1 to bool variable. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1]

[PATCH] regmap: Assign boolean values to a bool variable

2021-01-21 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./drivers/base/regmap/regcache.c:71:3-18: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/base/regmap/regcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bas