]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Assign boolean values to a bool variable
authorJiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Wed, 20 Jan 2021 07:01:51 +0000 (15:01 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Jan 2021 01:10:12 +0000 (17:10 -0800)
commit24363a9b529d1dbfeb15f2c24aca57c6059a1e92
treede3582f70c96e37dcaf665260979fbc45ea3af08
parent3dd5335d88152e4c01793e953766ad66e4ca65b8
cxgb4: Assign boolean values to a bool variable

Fix the following coccicheck warnings:

./drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:5142:2-33:
WARNING: Assignment of 0/1 to bool variable.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Link: https://lore.kernel.org/r/1611126111-22079-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c